]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bugfix: Speed up processing of queued events significantly, to not cause
authorhno <>
Sun, 6 Jul 2003 21:29:35 +0000 (21:29 +0000)
committerhno <>
Sun, 6 Jul 2003 21:29:35 +0000 (21:29 +0000)
large delays when under low load.

src/main.cc

index 14798a444903acf1c02e0b108b96a1bc31ad2c48..f11abe722098da2c14de4f94a4f4f0ff87cdb43f 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: main.cc,v 1.381 2003/07/06 14:37:45 hno Exp $
+ * $Id: main.cc,v 1.382 2003/07/06 15:29:35 hno Exp $
  *
  * DEBUG: section 1     Startup and Main Loop
  * AUTHOR: Harvest Derived
@@ -1123,7 +1123,7 @@ main(int argc, char **argv)
          */
         comm_calliocallback();
 
-        if (comm_iocallbackpendin())
+        if (comm_iocallbackpending())
             comm_calliocallback();
 
         switch (comm_select(loop_delay)) {