2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 13:38:26 +00:00

check the result of dns_zone_getdb call

This commit is contained in:
Mark Andrews 2014-02-20 20:33:46 +11:00
parent 8f80420c71
commit c62ead1ae7

View File

@ -599,7 +599,7 @@ check_ttls(dns_zone_t *zone, dns_ttl_t maxttl) {
name = dns_fixedname_name(&fname);
dns_rdataset_init(&rdataset);
dns_zone_getdb(zone, &db);
CHECK(dns_zone_getdb(zone, &db));
INSIST(db != NULL);
CHECK(dns_db_newversion(db, &version));