From 4d87098e39b3240ea5eace255f785f3bdae16c77 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Fri, 9 Oct 2009 16:50:50 +0000 Subject: [PATCH] Fix compiler warning when compiled with FEATURE_CONNECTION_KEEP_ALIVE undefined, even though it's defined by default now. --- jcc.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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)); -- 2.49.0