]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Summary: Fix non delay pool compiles.
authorrobertc <>
Fri, 7 Feb 2003 06:13:00 +0000 (06:13 +0000)
committerrobertc <>
Fri, 7 Feb 2003 06:13:00 +0000 (06:13 +0000)
Keywords:

main.cc and store_client.cc used unguarded delay pool calls.

src/main.cc
src/store_client.cc

index 3fc203895b2829633ade2bae43f0730c8d18cbb2..9e6b499f2019543fbf91d8999116f850863f39df 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: main.cc,v 1.364 2003/02/05 10:36:53 robertc Exp $
+ * $Id: main.cc,v 1.365 2003/02/06 23:13:00 robertc Exp $
  *
  * DEBUG: section 1     Startup and Main Loop
  * AUTHOR: Harvest Derived
@@ -951,7 +951,9 @@ SquidShutdown(void *unused)
 #endif
     releaseServerSockets();
     commCloseAllSockets();
+#if DELAY_POOLS
     DelayPools::FreePools();
+#endif
     authenticateShutdown();
 #if USE_UNLINKD
     unlinkdClose();
index 4c2ada855676c4de77eb37c6808c14785081823f..174cc3f1b978341b514d200ef183e8841bc3474d 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: store_client.cc,v 1.122 2003/02/06 09:57:38 robertc Exp $
+ * $Id: store_client.cc,v 1.123 2003/02/06 23:13:00 robertc Exp $
  *
  * DEBUG: section 90    Storage Manager Client-Side Interface
  * AUTHOR: Duane Wessels
@@ -709,8 +709,10 @@ store_client::callbackPending() const
 
 store_client::Callback::Callback(STCB *function, void *data) : callback_handler(function), callback_data (data) {}
 
+#if DELAY_POOLS
 void
 store_client::setDelayId(DelayId delay_id)
 {
     delayId = delay_id;
 }
+#endif