From: Fabian Keil Date: Fri, 3 Sep 2010 17:40:37 +0000 (+0000) Subject: In listen_loop(), mention the socket on which we accepted the connection, not just... X-Git-Tag: v_3_0_17~91 X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=commitdiff_plain;h=f7cf48b80a75f69dfeb7d84df3537c32f7b91225 In listen_loop(), mention the socket on which we accepted the connection, not just the source IP address. --- diff --git a/jcc.c b/jcc.c index 713fa540..d6a41ae5 100644 --- a/jcc.c +++ b/jcc.c @@ -1,4 +1,4 @@ -const char jcc_rcs[] = "$Id: jcc.c,v 1.325 2010/07/21 14:39:20 fabiankeil Exp $"; +const char jcc_rcs[] = "$Id: jcc.c,v 1.326 2010/07/29 14:32:08 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/jcc.c,v $ @@ -3460,7 +3460,9 @@ static void listen_loop(void) } else { - log_error(LOG_LEVEL_CONNECT, "accepted connection from %s", csp->ip_addr_str); + log_error(LOG_LEVEL_CONNECT, + "accepted connection from %s on socket %d", + csp->ip_addr_str, csp->cfd); } #ifdef FEATURE_TOGGLE