summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2007-01-05 10:31:54 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:36:50 -0500
commit34040b420a77ac144db99606369d4ed636cdf750 (patch)
tree265ff3704ca26a59762cc436ac3bc24100d424fd
parentb213b70c089046f426e1e3f2f733e42a02e2cbfe (diff)
downloadsamba-34040b420a77ac144db99606369d4ed636cdf750.tar.gz
samba-34040b420a77ac144db99606369d4ed636cdf750.tar.bz2
samba-34040b420a77ac144db99606369d4ed636cdf750.zip
r20540: darn, also need to fix this event_context reference
(This used to be commit c8bd3ec09d3c370475df3a3cd77de6743b316c9e)
-rw-r--r--source4/lib/events/events_timed.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/events/events_timed.c b/source4/lib/events/events_timed.c
index 6b0919d0f1..c85f8371c1 100644
--- a/source4/lib/events/events_timed.c
+++ b/source4/lib/events/events_timed.c
@@ -33,8 +33,8 @@
*/
static int common_event_timed_destructor(struct timed_event *te)
{
- struct event_context *ev = talloc_get_type(te->event_ctx->additional_data,
- struct event_context);
+ struct event_context *ev = talloc_get_type(te->event_ctx,
+ struct event_context);
DLIST_REMOVE(ev->timed_events, te);
return 0;
}