diff options
-rw-r--r-- | src/timer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timer.c b/src/timer.c index 47bb7c5..dfc898f 100644 --- a/src/timer.c +++ b/src/timer.c @@ -127,7 +127,7 @@ void ulogd_timer_check_n_run(void) llist_for_each_entry_safe(cur, cur2, &ulogd_timers, list) { if (tv_later(&cur->expires, &now)) { /* fist delete it from the list of timers */ - llist_del(cur); + llist_del(&cur->list); /* then call. called function can re-add it */ (cur->cb)(cur->data); } |