From: wessels <> Date: Tue, 15 Dec 1998 05:34:30 +0000 (+0000) Subject: lock the peer while in the 'Config.peers' list X-Git-Tag: SQUID_3_0_PRE1~2465 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=75ea70846a986bbbdc5b1692841d393ebb6d1306;p=thirdparty%2Fsquid.git lock the peer while in the 'Config.peers' list --- diff --git a/src/cache_cf.cc b/src/cache_cf.cc index b872609bfe..34a2186125 100644 --- a/src/cache_cf.cc +++ b/src/cache_cf.cc @@ -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++; }