From: wessels <> Date: Thu, 24 Oct 1996 11:13:18 +0000 (+0000) Subject: Fix last_check_time logic X-Git-Tag: SQUID_3_0_PRE1~5612 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=eb647c472cda5e76dba0c451a2e89ac4c9f6fb9a;p=thirdparty%2Fsquid.git Fix last_check_time logic --- diff --git a/src/pinger.cc b/src/pinger.cc index 0f709b5ae4..7fe7c247ed 100644 --- a/src/pinger.cc +++ b/src/pinger.cc @@ -1,6 +1,6 @@ /* - * $Id: pinger.cc,v 1.9 1996/10/15 23:32:54 wessels Exp $ + * $Id: pinger.cc,v 1.10 1996/10/24 05:13:18 wessels Exp $ * * DEBUG: section 37 ICMP Routines * AUTHOR: Duane Wessels @@ -355,7 +355,7 @@ main(int argc, char *argv[]) return 1; if (FD_ISSET(icmp_sock, &R)) pingerRecv(); - if (10 + last_check_time > squid_curtime) { + if (10 + last_check_time < squid_curtime) { if (send(1, &tv, 0, 0) < 0) return 1; last_check_time = squid_curtime;