]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
fixed broken recursion detection
authorwessels <>
Tue, 28 Apr 1998 01:51:53 +0000 (01:51 +0000)
committerwessels <>
Tue, 28 Apr 1998 01:51:53 +0000 (01:51 +0000)
src/store_client.cc

index 38d8a5421c6f9f69d84fdc1909b4bfc0a5a84b56..42699d1246c97fc6ec878f77b82b0dd2ee115722 100644 (file)
@@ -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,