]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Reset Config.npeers to zero in free_peer()
authorwessels <>
Sat, 3 Jan 1998 02:55:28 +0000 (02:55 +0000)
committerwessels <>
Sat, 3 Jan 1998 02:55:28 +0000 (02:55 +0000)
src/cache_cf.cc

index e698d19737dbdeb07eb2aec9ce2269118096dee1..077c85a40b36a3934fc9df93a377d1e77b1f5273 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: cache_cf.cc,v 1.239 1997/12/27 18:15:07 kostas Exp $
+ * $Id: cache_cf.cc,v 1.240 1998/01/02 19:55:28 wessels Exp $
  *
  * DEBUG: section 3     Configuration File Parsing
  * AUTHOR: Harvest Derived
@@ -659,6 +659,7 @@ free_peer(peer ** P)
        *P = p->next;
        peerDestroy(p);
     }
+    Config.npeers = 0;
 }
 
 static void