From: wessels <> Date: Thu, 2 Apr 1998 00:24:09 +0000 (+0000) Subject: require both start and stop to be non-zero for ICP query svc time counting X-Git-Tag: SQUID_3_0_PRE1~3657 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1c605b66a08b7eed6b3ce341a170bec00eb2f2a0;p=thirdparty%2Fsquid.git require both start and stop to be non-zero for ICP query svc time counting --- diff --git a/src/client_side.cc b/src/client_side.cc index 7bd604b79f..b1451dbef5 100644 --- a/src/client_side.cc +++ b/src/client_side.cc @@ -1,6 +1,6 @@ /* - * $Id: client_side.cc,v 1.246 1998/04/01 00:07:53 wessels Exp $ + * $Id: client_side.cc,v 1.247 1998/04/01 17:24:09 wessels Exp $ * * DEBUG: section 33 Client-side Routines * AUTHOR: Duane Wessels @@ -512,7 +512,7 @@ clientUpdateCounters(clientHttpRequest * http) break; } i = &http->request->hier.icp; - if (0 != i->stop.tv_sec) + if (0 != i->stop.tv_sec && 0 != i->start.tv_sec) statHistCount(&Counter.icp.query_svc_time, tvSubUsec(i->start, i->stop)); }