From: wessels <> Date: Wed, 31 May 2000 10:59:23 +0000 (+0000) Subject: DW: X-Git-Tag: SQUID_3_0_PRE1~1941 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ad63ceea10883524782fabc178012eb3dfddcc81;p=thirdparty%2Fsquid.git DW: - Eliminate unused variable warnings from the worlds longest #if --- diff --git a/src/client_side.cc b/src/client_side.cc index ea24835fcb..ed7ce5051f 100644 --- a/src/client_side.cc +++ b/src/client_side.cc @@ -1,6 +1,6 @@ /* - * $Id: client_side.cc,v 1.488 2000/05/30 09:35:50 hno Exp $ + * $Id: client_side.cc,v 1.489 2000/05/31 04:59:23 wessels Exp $ * * DEBUG: section 33 Client-side Routines * AUTHOR: Duane Wessels @@ -2633,10 +2633,10 @@ clientReadRequest(int fd, void *data) static void requestTimeout(int fd, void *data) { +#if THIS_CONFUSES_PERSISTENT_CONNECTION_AWARE_BROWSERS_AND_USERS ConnStateData *conn = data; ErrorState *err; debug(33, 3) ("requestTimeout: FD %d: lifetime is expired.\n", fd); -#if THIS_CONFUSES_PERSISTENT_CONNECTION_AWARE_BROWSERS_AND_USERS if (fd_table[fd].rwstate) { /* * Some data has been sent to the client, just close the FD @@ -2679,6 +2679,7 @@ requestTimeout(int fd, void *data) * the open has already been completed on another * connection) */ + debug(33, 3) ("requestTimeout: FD %d: lifetime is expired.\n", fd); comm_close(fd); #endif }