From: wessels <> Date: Wed, 11 Feb 1998 05:28:57 +0000 (+0000) Subject: protect snmpConnectionClose X-Git-Tag: SQUID_3_0_PRE1~4119 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d84eba426572208b051cbd39949a5079056c7375;p=thirdparty%2Fsquid.git protect snmpConnectionClose --- diff --git a/src/main.cc b/src/main.cc index 397ff690e1..ecb656c5d9 100644 --- a/src/main.cc +++ b/src/main.cc @@ -1,6 +1,6 @@ /* - * $Id: main.cc,v 1.216 1998/02/10 21:44:34 wessels Exp $ + * $Id: main.cc,v 1.217 1998/02/10 22:28:57 wessels Exp $ * * DEBUG: section 1 Startup and Main Loop * AUTHOR: Harvest Derived @@ -599,7 +599,9 @@ main(int argc, char **argv) case COMM_SHUTDOWN: /* delayed close so we can transmit while shutdown pending */ icpConnectionClose(); +#ifdef SQUID_SNMP snmpConnectionClose(); +#endif if (shutdown_pending) { normal_shutdown(); #if 0