2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 22:15:20 +00:00

warn about failed zone loads

This commit is contained in:
Andreas Gustafsson
1999-10-19 19:14:14 +00:00
parent a1ab2f1fde
commit 8e99b9ed65

View File

@@ -244,7 +244,11 @@ load_zone(dns_c_ctx_t *ctx, dns_c_zone_t *czone, dns_c_view_t *cview,
* want to fail the whole config file load just
* because we couldn't get a zone.
*/
(void)dns_zone_load(zone);
result = dns_zone_load(zone);
if (result != ISC_R_SUCCESS) {
fprintf(stderr, "dns_zone_load failed: %s\n",
isc_result_totext(result));
}
}
cleanup: