]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
assert on swap_help counter
authorwessels <>
Fri, 24 Oct 1997 10:41:56 +0000 (10:41 +0000)
committerwessels <>
Fri, 24 Oct 1997 10:41:56 +0000 (10:41 +0000)
src/store.cc

index 2882efa91e1e6b7319ead18878e1051fe1b2cd58..ee14cede7e34fe157d768a537efd13a582340de3 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: store.cc,v 1.310 1997/10/24 04:06:23 wessels Exp $
+ * $Id: store.cc,v 1.311 1997/10/24 04:41:56 wessels Exp $
  *
  * DEBUG: section 20    Storeage Manager
  * AUTHOR: Harvest Derived
@@ -1771,6 +1771,7 @@ storeGetSwapSpace(int size)
        debug(20, DL) ("--> store_swap_high = %d KB\n", store_swap_high);
        debug(20, DL) ("--> store_swap_size = %d KB\n", store_swap_size);
        debug(20, DL) ("--> asking for        %d KB\n", kb_size);
+       assert(swap_help < 10);
     } else {
        swap_help = 0;
        DL = 3;