2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

we were purging the wrong event ranges

This commit is contained in:
Bob Halley
1999-07-21 21:18:10 +00:00
parent ca485ab26f
commit 67e33ba670

View File

@@ -199,8 +199,8 @@ destroy(isc_timer_t *timer) {
isc_task_purgerange(timer->task,
timer,
ISC_TASKEVENT_FIRSTEVENT,
ISC_TASKEVENT_LASTEVENT,
ISC_TIMEREVENT_FIRSTEVENT,
ISC_TIMEREVENT_LASTEVENT,
NULL);
deschedule(timer);
UNLINK(manager->timers, timer, link);
@@ -375,8 +375,8 @@ isc_timer_reset(isc_timer_t *timer, isc_timertype_t type,
if (purge)
isc_task_purgerange(timer->task,
timer,
ISC_TASKEVENT_FIRSTEVENT,
ISC_TASKEVENT_LASTEVENT,
ISC_TIMEREVENT_FIRSTEVENT,
ISC_TIMEREVENT_LASTEVENT,
NULL);
timer->type = type;
timer->expires = *expires;