]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
fix comm_select to actually select() during background processing
authorwessels <>
Thu, 18 Apr 1996 03:40:27 +0000 (03:40 +0000)
committerwessels <>
Thu, 18 Apr 1996 03:40:27 +0000 (03:40 +0000)
src/comm.cc

index 23810873e8771e95c2f1b43fdfcc4be92d9985b0..6c89b6ab4f79b9ef5675617e46ad5d6282f77c8b 100644 (file)
@@ -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;