From: wessels <> Date: Tue, 28 Apr 1998 01:51:53 +0000 (+0000) Subject: fixed broken recursion detection X-Git-Tag: SQUID_3_0_PRE1~3406 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=82ba45fbb4814e6d3934e7a8e2083d00ff23f75a;p=thirdparty%2Fsquid.git fixed broken recursion detection --- diff --git a/src/store_client.cc b/src/store_client.cc index 38d8a5421c..42699d1246 100644 --- a/src/store_client.cc +++ b/src/store_client.cc @@ -76,7 +76,7 @@ storeClientCopy(StoreEntry * e, store_client *sc; static int recurse_detect = 0; assert(e->store_status != STORE_ABORTED); - assert(recurse_detect < 3); /* could == 1 for IMS not modified's */ + assert(++recurse_detect < 3); /* could == 1 for IMS not modified's */ debug(20, 3) ("storeClientCopy: %s, seen %d, want %d, size %d, cb %p, cbdata %p\n", storeKeyText(e->key), (int) seen_offset,