From: wessels <> Date: Thu, 5 Oct 2000 09:26:48 +0000 (+0000) Subject: DW: X-Git-Tag: SQUID_3_0_PRE1~1830 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=49d7ce5f8e51ef8d60548c5d9569b6b6709b73fc;p=thirdparty%2Fsquid.git DW: - Change this assetion to a debugging statement, at least temporarily. --- diff --git a/src/stat.cc b/src/stat.cc index 515a7d2103..bcfce0d9b4 100644 --- a/src/stat.cc +++ b/src/stat.cc @@ -1,6 +1,6 @@ /* - * $Id: stat.cc,v 1.335 2000/10/03 20:51:04 wessels Exp $ + * $Id: stat.cc,v 1.336 2000/10/05 03:26:48 wessels Exp $ * * DEBUG: section 18 Cache Manager Statistics * AUTHOR: Harvest Derived @@ -1363,7 +1363,8 @@ statByteHitRatio(int minutes) * digest bytes out before calculating the byte hit ratio. */ cd = CountHist[0].cd.kbytes_recv.kb - CountHist[minutes].cd.kbytes_recv.kb; - assert(s > cd); + if (s < cd) + debug(18, 1) ("STRANGE: srv_kbytes=%d, cd_kbytes=%d\n", s, cd); s -= cd; #endif if (c > s)