From: wessels <> Date: Fri, 25 Sep 1998 11:35:31 +0000 (+0000) Subject: probable off-by-one bug (Joe Ramey) X-Git-Tag: SQUID_3_0_PRE1~2631 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fc161a6667723179eb7941c89ca3c503d0f15099;p=thirdparty%2Fsquid.git probable off-by-one bug (Joe Ramey) --- diff --git a/src/neighbors.cc b/src/neighbors.cc index f26735597a..fc4d05ad6d 100644 --- a/src/neighbors.cc +++ b/src/neighbors.cc @@ -1,6 +1,6 @@ /* - * $Id: neighbors.cc,v 1.253 1998/09/24 20:29:14 rousskov Exp $ + * $Id: neighbors.cc,v 1.254 1998/09/25 05:35:31 wessels Exp $ * * DEBUG: section 15 Neighbor Routines * AUTHOR: Harvest Derived @@ -830,7 +830,7 @@ neighborUp(const peer * p) return 0; if (squid_curtime - p->stats.last_query > Config.Timeout.deadPeer) return 1; - if (p->stats.last_query - p->stats.last_reply >= Config.Timeout.deadPeer) + if (p->stats.last_query - p->stats.last_reply > Config.Timeout.deadPeer) return 0; return 1; }