From fc161a6667723179eb7941c89ca3c503d0f15099 Mon Sep 17 00:00:00 2001 From: wessels <> Date: Fri, 25 Sep 1998 11:35:31 +0000 Subject: [PATCH] probable off-by-one bug (Joe Ramey) --- src/neighbors.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.47.3