From 4234fd9e08a09e82b16e719a6b4f3d2d57bebba2 Mon Sep 17 00:00:00 2001 From: Lee Date: Wed, 24 Dec 2008 22:13:11 +0000 Subject: [PATCH] fix GCC 3.4.4 warning --- jcc.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/jcc.c b/jcc.c index f9d39e6a..58f1a5a3 100644 --- a/jcc.c +++ b/jcc.c @@ -1,4 +1,4 @@ -const char jcc_rcs[] = "$Id: jcc.c,v 1.214 2008/12/20 14:53:55 fabiankeil Exp $"; +const char jcc_rcs[] = "$Id: jcc.c,v 1.215 2008/12/24 17:06:19 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/jcc.c,v $ @@ -33,6 +33,10 @@ const char jcc_rcs[] = "$Id: jcc.c,v 1.214 2008/12/20 14:53:55 fabiankeil Exp $" * * Revisions : * $Log: jcc.c,v $ + * Revision 1.215 2008/12/24 17:06:19 fabiankeil + * Keep a thread around to timeout alive connections + * even if no new requests are coming in. + * * Revision 1.214 2008/12/20 14:53:55 fabiankeil * Add config option socket-timeout to control the time * Privoxy waits for data to arrive on a socket. Useful @@ -2490,7 +2494,7 @@ static void chat(struct client_state *csp) int max_forwarded_connect_retries = csp->config->forwarded_connect_retries; const struct forward_spec *fwd; struct http_request *http; - int len; /* for buffer sizes (and negative error codes) */ + int len = 0; /* for buffer sizes (and negative error codes) */ /* Function that does the content filtering for the current request */ filter_function_ptr content_filter = NULL; -- 2.39.2