mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-22 23:01:43 -04:00
check the result of dns_zone_getdb call
This commit is contained in:
parent
8f80420c71
commit
c62ead1ae7
1 changed files with 1 additions and 1 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Reference in a new issue