From: Fabian Keil Date: Sat, 24 Nov 2012 14:01:25 +0000 (+0000) Subject: Fix a harmless logic bug in mark_server_socket_tainted() X-Git-Tag: v_3_0_20~164 X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=commitdiff_plain;h=f490deef1980fba26c921c515941a8fc0879976b Fix a harmless logic bug in mark_server_socket_tainted() The log message was never printed while the intention was to only suppress it if the socket was tainted already. Copy&paste man struck again. --- diff --git a/jcc.c b/jcc.c index f66dad5b..6f1f06c4 100644 --- a/jcc.c +++ b/jcc.c @@ -1,4 +1,4 @@ -const char jcc_rcs[] = "$Id: jcc.c,v 1.414 2012/11/09 10:53:39 fabiankeil Exp $"; +const char jcc_rcs[] = "$Id: jcc.c,v 1.415 2012/11/24 14:00:25 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/jcc.c,v $ @@ -1183,7 +1183,7 @@ static void mark_server_socket_tainted(struct client_state *csp) * actually been reused. */ if ((csp->flags & CSP_FLAG_SERVER_CONNECTION_KEEP_ALIVE) - && !(csp->flags |= CSP_FLAG_SERVER_SOCKET_TAINTED)) + && !(csp->flags & CSP_FLAG_SERVER_SOCKET_TAINTED)) { log_error(LOG_LEVEL_CONNECT, "Marking the server socket %d tainted.",