From: robertc <> Date: Fri, 7 Feb 2003 06:13:00 +0000 (+0000) Subject: Summary: Fix non delay pool compiles. X-Git-Tag: SQUID_3_0_PRE1~383 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=515ec4dcb96cad5a8930d54cab18fc3a2b248be8;p=thirdparty%2Fsquid.git Summary: Fix non delay pool compiles. Keywords: main.cc and store_client.cc used unguarded delay pool calls. --- diff --git a/src/main.cc b/src/main.cc index 3fc203895b..9e6b499f20 100644 --- a/src/main.cc +++ b/src/main.cc @@ -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(); diff --git a/src/store_client.cc b/src/store_client.cc index 4c2ada8556..174cc3f1b9 100644 --- a/src/store_client.cc +++ b/src/store_client.cc @@ -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