2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-09-05 09:05:40 +00:00

Refactor isc_timer_reset() use with semantic patch

Add and apply semantic patch to remove expires argument from the
isc_timer_reset() calls through the codebase.
This commit is contained in:
Ondřej Surý
2022-03-11 23:08:17 +01:00
committed by Evan Hunt
parent 6437bcc488
commit e6ca2a651f
12 changed files with 63 additions and 116 deletions

View File

@@ -420,7 +420,7 @@ dispatch(isc_timermgr_t *manager, isc_time_t *now) {
need_schedule = true;
break;
case isc_timertype_once:
type = ISC_TIMEREVENT_IDLE;
type = ISC_TIMEREVENT_ONCE;
post_event(manager, timer, type);
need_schedule = false;
break;