2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

set now on all paths

This commit is contained in:
Mark Andrews
2014-06-25 00:44:11 +10:00
parent 6343df7150
commit d2dc08308f

View File

@@ -213,6 +213,7 @@ fetch_done(isc_task_t *task, isc_event_t *event) {
dns_db_detach(&devent->db);
isc_event_free(&event);
isc_stdtime_get(&now);
switch (eresult) {
case ISC_R_SUCCESS:
@@ -220,7 +221,6 @@ fetch_done(isc_task_t *task, isc_event_t *event) {
case DNS_R_NXDOMAIN:
case DNS_R_NCACHENXRRSET:
case DNS_R_NXRRSET:
isc_stdtime_get(&now);
nta->expiry = now;
break;
default: