]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Add in a missing check for whether the new dlink-based pending comm callbacks are...
authoradrian <>
Sat, 23 Sep 2006 13:16:07 +0000 (13:16 +0000)
committeradrian <>
Sat, 23 Sep 2006 13:16:07 +0000 (13:16 +0000)
src/comm.cc

index c6eb764d7f5786715c828a14f078b05a0fd08212..90c567c55115bdd6e79334197ef076b024b5f4ce 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: comm.cc,v 1.425 2006/09/20 22:15:00 hno Exp $
+ * $Id: comm.cc,v 1.426 2006/09/23 07:16:07 adrian Exp $
  *
  * DEBUG: section 5     Socket Functions
  * AUTHOR: Harvest Derived
@@ -519,7 +519,7 @@ bool
 comm_iocallbackpending(void)
 {
     debug(5, 7) ("comm_iocallbackpending: %p\n", CommCallbackList.head);
-    return CommCallbackList.head != NULL;
+    return (CommCallbackList.head != NULL) || (commfd_completed_events.head != NULL);
 }
 
 /*