tevent: Fix build break
authorTim Prouty <tprouty@samba.org>
Sun, 11 Jan 2009 19:00:50 +0000 (11:00 -0800)
committerTim Prouty <tprouty@samba.org>
Sun, 11 Jan 2009 19:00:50 +0000 (11:00 -0800)
lib/tevent/tevent.c

index fa8219e..cf17802 100644 (file)
@@ -157,7 +157,7 @@ int tevent_common_context_destructor(struct tevent_context *ev)
        te = ev->timer_events;
        while (te) {
                te->event_ctx = NULL;
-               DLIST_REMOVE(te->timer_events, te);
+               DLIST_REMOVE(ev->timer_events, te);
                te = ev->timer_events;
        }