mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-01 15:05:23 +00:00
Check isc_timer_reset return
This commit is contained in:
@@ -1209,8 +1209,9 @@ dns_catz_update_taskaction(isc_task_t *task, isc_event_t *event) {
|
|||||||
zone->updatepending = ISC_FALSE;
|
zone->updatepending = ISC_FALSE;
|
||||||
dns_catz_update_from_db(zone->db, zone->catzs);
|
dns_catz_update_from_db(zone->db, zone->catzs);
|
||||||
dns_db_detach(&zone->db);
|
dns_db_detach(&zone->db);
|
||||||
isc_timer_reset(zone->updatetimer, isc_timertype_inactive,
|
result = isc_timer_reset(zone->updatetimer, isc_timertype_inactive,
|
||||||
NULL, NULL, ISC_TRUE);
|
NULL, NULL, ISC_TRUE);
|
||||||
|
RUNTIME_CHECK(result == ISC_R_SUCCESS);
|
||||||
isc_event_free(&event);
|
isc_event_free(&event);
|
||||||
result = isc_time_now(&zone->lastupdated);
|
result = isc_time_now(&zone->lastupdated);
|
||||||
RUNTIME_CHECK(result == ISC_R_SUCCESS);
|
RUNTIME_CHECK(result == ISC_R_SUCCESS);
|
||||||
|
Reference in New Issue
Block a user