]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
DW:
authorwessels <>
Wed, 31 May 2000 10:59:23 +0000 (10:59 +0000)
committerwessels <>
Wed, 31 May 2000 10:59:23 +0000 (10:59 +0000)
 - Eliminate unused variable warnings from the worlds longest #if

src/client_side.cc

index ea24835fcba0c07550e60fadf557950326914b7d..ed7ce5051f59a3df383ff7d96d06f6eb209dbf2f 100644 (file)
@@ -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
 }