mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 22:15:20 +00:00
event purging api change
This commit is contained in:
@@ -200,7 +200,8 @@ destroy(isc_timer_t *timer) {
|
||||
isc_task_purgerange(timer->task,
|
||||
timer,
|
||||
ISC_TASKEVENT_FIRSTEVENT,
|
||||
ISC_TASKEVENT_LASTEVENT);
|
||||
ISC_TASKEVENT_LASTEVENT,
|
||||
0);
|
||||
deschedule(timer);
|
||||
UNLINK(manager->timers, timer, link);
|
||||
|
||||
@@ -356,7 +357,8 @@ isc_timer_reset(isc_timer_t *timer, isc_timertype_t type,
|
||||
isc_task_purgerange(timer->task,
|
||||
timer,
|
||||
ISC_TASKEVENT_FIRSTEVENT,
|
||||
ISC_TASKEVENT_LASTEVENT);
|
||||
ISC_TASKEVENT_LASTEVENT,
|
||||
0);
|
||||
timer->type = type;
|
||||
timer->expires = *expires;
|
||||
timer->interval = *interval;
|
||||
|
Reference in New Issue
Block a user