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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user