From: wessels <> Date: Thu, 18 Apr 1996 03:40:27 +0000 (+0000) Subject: fix comm_select to actually select() during background processing X-Git-Tag: SQUID_3_0_PRE1~6112 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=21eb87c3c56f5a06e83bf8575d95ece28834b730;p=thirdparty%2Fsquid.git fix comm_select to actually select() during background processing --- 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;