From: hno <> Date: Thu, 9 Nov 2006 23:35:32 +0000 (+0000) Subject: Bug #1805: assertion failed: StatHist.c:195: "D[i] >= 0" X-Git-Tag: SQUID_3_0_PRE6~194 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a56d882c26988a06d7ffe2c87244cb89572a5def;p=thirdparty%2Fsquid.git Bug #1805: assertion failed: StatHist.c:195: "D[i] >= 0" triggered by querying the cacheHttpNhSvcTime SNMP table, either directly or indirectly by walking the cacheRequestByteRatio (the OID just before). --- diff --git a/src/snmp_agent.cc b/src/snmp_agent.cc index 3189c9551c..788f52e047 100644 --- a/src/snmp_agent.cc +++ b/src/snmp_agent.cc @@ -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: