From: wessels <> Date: Fri, 24 Oct 1997 10:41:56 +0000 (+0000) Subject: assert on swap_help counter X-Git-Tag: SQUID_3_0_PRE1~4704 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=83ffae12b47d25f2454bf5457dd20d2ce8864480;p=thirdparty%2Fsquid.git assert on swap_help counter --- diff --git a/src/store.cc b/src/store.cc index 2882efa91e..ee14cede7e 100644 --- a/src/store.cc +++ b/src/store.cc @@ -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;