From: Perry Lorier Date: Sat, 29 Apr 2000 05:30:05 +0000 (+0000) Subject: Author: Perry Lorier X-Git-Url: http://git.pk910.de/?p=ircu2.10.12-pk.git;a=commitdiff_plain;h=a33abfeed1d8f596a34909099d579929087364eb Author: Perry Lorier Log message: fixing compile errors in debug code. oops! git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@216 c9e4aea6-c8fd-4c43-8297-357d70d61c8c --- diff --git a/ChangeLog b/ChangeLog index 0aafa55..89ed9d0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2000-04-29 Perry Lorier + * include/s_bsd.c: Ok, so I thought I compiled and tested this... + 2000-04-29 Perry Lorier * include/s_bsd.c: Add debugging code to IPcheck @@ -972,7 +975,7 @@ # # ChangeLog for ircu2.10.11 # -# $Id: ChangeLog,v 1.113 2000-04-29 04:42:51 isomer Exp $ +# $Id: ChangeLog,v 1.114 2000-04-29 05:30:05 isomer Exp $ # # Insert new changes at beginning of the change list. # diff --git a/ircd/s_bsd.c b/ircd/s_bsd.c index d71037b..4cf0dd1 100644 --- a/ircd/s_bsd.c +++ b/ircd/s_bsd.c @@ -581,11 +581,11 @@ void add_connection(struct Listener* listener, int fd) if (!IPcheck_local_connect(addr.sin_addr, &next_target) && !listener->server) { #ifdef IPCHECKDEBUG char buff[512]; - snprintf(buff,"\n%s [%i connections active]\n", + snprintf(buff,512,"\n%s [%i connections active]\n", throttle_message, IPcheck_nr(addr.sin_addr)); buff[511]=0; - send(fd,buff,strlen(buff)); + send(fd,buff,strlen(buff),0); #else /* * strlen(throttle_message) == 66