From: robertc <> Date: Sun, 6 Aug 2006 12:26:27 +0000 (+0000) Subject: BUGFIX: eventRun of an event with non-cbdata callback argument used a random callback... X-Git-Tag: SQUID_3_0_PRE5~197 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2ea10ed43aad6b51cc392ade38f1ef7532e8649b;p=thirdparty%2Fsquid.git BUGFIX: eventRun of an event with non-cbdata callback argument used a random callback value. --- diff --git a/src/event.cc b/src/event.cc index 82a93d179a..eac403efbd 100644 --- a/src/event.cc +++ b/src/event.cc @@ -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;