From 21eb87c3c56f5a06e83bf8575d95ece28834b730 Mon Sep 17 00:00:00 2001 From: wessels <> Date: Thu, 18 Apr 1996 03:40:27 +0000 Subject: [PATCH] fix comm_select to actually select() during background processing --- src/comm.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/comm.cc b/src/comm.cc index 23810873e8..6c89b6ab4f 100644 --- a/src/comm.cc +++ b/src/comm.cc @@ -1,5 +1,5 @@ -/* $Id: comm.cc,v 1.28 1996/04/17 17:40:15 wessels Exp $ */ +/* $Id: comm.cc,v 1.29 1996/04/17 21:40:27 wessels Exp $ */ /* DEBUG: Section 5 comm: socket level functions */ @@ -540,7 +540,7 @@ int comm_select(sec, failtime) /* use only 1 second granularity */ timeout = squid_curtime + sec; - while (timeout > getCurrentTime()) { + while (timeout >= getCurrentTime()) { if (0 < failtime && failtime < squid_curtime) break; -- 2.47.3