]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
probable off-by-one bug (Joe Ramey)
authorwessels <>
Fri, 25 Sep 1998 11:35:31 +0000 (11:35 +0000)
committerwessels <>
Fri, 25 Sep 1998 11:35:31 +0000 (11:35 +0000)
src/neighbors.cc

index f26735597a802dc35e2ec0ca4c429af5330a7f85..fc4d05ad6d13ff2903c4bf1a8dec6ccca0fdbaa2 100644 (file)
@@ -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;
 }