]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
lock the peer while in the 'Config.peers' list
authorwessels <>
Tue, 15 Dec 1998 05:34:30 +0000 (05:34 +0000)
committerwessels <>
Tue, 15 Dec 1998 05:34:30 +0000 (05:34 +0000)
src/cache_cf.cc

index b872609bfefe95f8f24de9dbfbac409b8ff50c66..34a2186125576854aab5a388d5a261975c5a1f5a 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: cache_cf.cc,v 1.313 1998/12/05 00:54:16 wessels Exp $
+ * $Id: cache_cf.cc,v 1.314 1998/12/14 22:34:30 wessels Exp $
  *
  * DEBUG: section 3     Configuration File Parsing
  * AUTHOR: Harvest Derived
@@ -775,6 +775,7 @@ parse_peer(peer ** head)
     while (*head != NULL)
        head = &(*head)->next;
     *head = p;
+    cbdataLock(p);
     Config.npeers++;
 }