]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
DW:
authorwessels <>
Thu, 5 Oct 2000 09:26:48 +0000 (09:26 +0000)
committerwessels <>
Thu, 5 Oct 2000 09:26:48 +0000 (09:26 +0000)
 - Change this assetion to a debugging statement, at least temporarily.

src/stat.cc

index 515a7d2103f4317233153496719f56cff53a7298..bcfce0d9b442ddae535920ee8fbfffbad412fa7b 100644 (file)
@@ -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)