From: Fabian Keil <fk@fabiankeil.de>
Date: Fri, 9 Oct 2009 16:50:50 +0000 (+0000)
Subject: Fix compiler warning when compiled with FEATURE_CONNECTION_KEEP_ALIVE undefined,... 
X-Git-Tag: v_3_0_15~18
X-Git-Url: http://www.privoxy.org/gitweb/%22https:/@default-cgi@/developer-manual/static/gitweb.js?a=commitdiff_plain;h=4d87098e39b3240ea5eace255f785f3bdae16c77;p=privoxy.git

Fix compiler warning when compiled with FEATURE_CONNECTION_KEEP_ALIVE undefined, even though it's defined by default now.
---

diff --git a/jcc.c b/jcc.c
index cb846ca8..630d02b0 100644
--- a/jcc.c
+++ b/jcc.c
@@ -1,4 +1,4 @@
-const char jcc_rcs[] = "$Id: jcc.c,v 1.300 2009/10/04 15:46:25 fabiankeil Exp $";
+const char jcc_rcs[] = "$Id: jcc.c,v 1.301 2009/10/08 07:36:37 fabiankeil Exp $";
 /*********************************************************************
  *
  * File        :  $Source: /cvsroot/ijbswa/current/jcc.c,v $
@@ -1603,7 +1603,9 @@ static void chat(struct client_state *csp)
    /* Skeleton for HTTP response, if we should intercept the request */
    struct http_response *rsp;
    struct timeval timeout;
+#ifdef FEATURE_CONNECTION_KEEP_ALIVE
    int watch_client_socket = 1;
+#endif
 
    memset(buf, 0, sizeof(buf));