]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
BUGFIX: eventRun of an event with non-cbdata callback argument used a random callback...
authorrobertc <>
Sun, 6 Aug 2006 12:26:27 +0000 (12:26 +0000)
committerrobertc <>
Sun, 6 Aug 2006 12:26:27 +0000 (12:26 +0000)
src/event.cc

index 82a93d179ae6387f8f7080ccee56b3564f4bd206..eac403efbd1293c755c5e1f04fb2c3ce54896fcc 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: event.cc,v 1.39 2006/05/29 00:15:02 robertc Exp $
+ * $Id: event.cc,v 1.40 2006/08/06 06:26:27 robertc Exp $
  *
  * DEBUG: section 41    Event Processing
  * AUTHOR: Henrik Nordstrom
@@ -153,7 +153,7 @@ eventRun(void)
 
     while ((event = tasks)) {
         EVH *callback;
-        void *cbdata;
+        void *cbdata = event->arg;
 
         if (event->when > current_dtime)
             break;