From: hackbard Date: Sun, 9 May 2004 16:47:22 +0000 (+0000) Subject: shorter console string for incoming connections X-Git-Url: https://hackdaworld.org/gitweb/?a=commitdiff_plain;h=eb0f685570bbc4e1f0f97d6d1bad5a905a1e036f;p=my-code%2Fivac.git shorter console string for incoming connections --- diff --git a/src/ivac.c b/src/ivac.c index f4f6952..43b7ef6 100644 --- a/src/ivac.c +++ b/src/ivac.c @@ -184,7 +184,7 @@ int ivac_event_cb(t_event *event,void *ptr) { else if(channel==N_E_MAXC) sprintf(c_str,"maximum connections reached"); else { - sprintf(c_str,"established connection from %s port %d on channel %d\n", + sprintf(c_str,"connection from %s port %d on channel %d", ivac->net.connection[channel].ip, ivac->net.connection[channel].port,channel); ivac_add_to_monitor(ivac,c_str);