From 67e33ba6704b05c52ac074670d5343d1128d3d9d Mon Sep 17 00:00:00 2001 From: Bob Halley Date: Wed, 21 Jul 1999 21:18:10 +0000 Subject: [PATCH] we were purging the wrong event ranges --- lib/isc/timer.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/isc/timer.c b/lib/isc/timer.c index 0a4486c142..7e1323a27c 100644 --- a/lib/isc/timer.c +++ b/lib/isc/timer.c @@ -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;