From f7cf48b80a75f69dfeb7d84df3537c32f7b91225 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Fri, 3 Sep 2010 17:40:37 +0000 Subject: [PATCH] In listen_loop(), mention the socket on which we accepted the connection, not just the source IP address. --- jcc.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 -- 2.39.2