summaryrefslogtreecommitdiff
path: root/source3/lib/events.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib/events.c')
-rw-r--r--source3/lib/events.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/lib/events.c b/source3/lib/events.c
index 242c198511..6db9930c30 100644
--- a/source3/lib/events.c
+++ b/source3/lib/events.c
@@ -23,9 +23,8 @@
static struct timed_event *timed_events;
-static int timed_event_destructor(void *p)
+static int timed_event_destructor(struct timed_event *te)
{
- struct timed_event *te = talloc_get_type_abort(p, struct timed_event);
DEBUG(10, ("Destroying timed event %lx \"%s\"\n", (unsigned long)te,
te->event_name));
DLIST_REMOVE(timed_events, te);