mirror of
https://github.com/isc-projects/bind9.git
synced 2026-03-12 05:32:42 -04:00
Check isc_timer_reset return
This commit is contained in:
parent
aee6412db2
commit
e211ffb1f1
1 changed files with 3 additions and 2 deletions
|
|
@ -1209,8 +1209,9 @@ dns_catz_update_taskaction(isc_task_t *task, isc_event_t *event) {
|
|||
zone->updatepending = ISC_FALSE;
|
||||
dns_catz_update_from_db(zone->db, zone->catzs);
|
||||
dns_db_detach(&zone->db);
|
||||
isc_timer_reset(zone->updatetimer, isc_timertype_inactive,
|
||||
NULL, NULL, ISC_TRUE);
|
||||
result = isc_timer_reset(zone->updatetimer, isc_timertype_inactive,
|
||||
NULL, NULL, ISC_TRUE);
|
||||
RUNTIME_CHECK(result == ISC_R_SUCCESS);
|
||||
isc_event_free(&event);
|
||||
result = isc_time_now(&zone->lastupdated);
|
||||
RUNTIME_CHECK(result == ISC_R_SUCCESS);
|
||||
|
|
|
|||
Loading…
Reference in a new issue