]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug #1805: assertion failed: StatHist.c:195: "D[i] >= 0"
authorhno <>
Thu, 9 Nov 2006 23:35:32 +0000 (23:35 +0000)
committerhno <>
Thu, 9 Nov 2006 23:35:32 +0000 (23:35 +0000)
triggered by querying the cacheHttpNhSvcTime SNMP table, either directly or
indirectly by walking the cacheRequestByteRatio (the OID just before).

src/snmp_agent.cc

index 3189c9551cf8f808d03652803b39c318ce497331..788f52e047572c8a4ab7282be399cf2e85fd0b0c 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: snmp_agent.cc,v 1.93 2006/09/22 02:48:51 hno Exp $
+ * $Id: snmp_agent.cc,v 1.94 2006/11/09 16:35:32 hno Exp $
  *
  * DEBUG: section 49     SNMP Interface
  * AUTHOR: Kostas Anagnostakis
@@ -578,7 +578,7 @@ snmp_prfProtoFn(variable_list * Var, snint * ErrP)
 
        case PERF_MEDIAN_HTTP_NH:
            x = statHistDeltaMedian(&l->client_http.nh_svc_time,
-                                   &f->client_http.nm_svc_time);
+                                   &f->client_http.nh_svc_time);
            break;
 
         default: