2
0
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:
Bob Halley
1999-06-15 23:18:44 +00:00
parent 07697f1c52
commit d717d5600b
2 changed files with 8 additions and 6 deletions

View File

@@ -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;