From c62ead1ae7d80ee5f5d6fe8fc62830986ff75b98 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Thu, 20 Feb 2014 20:33:46 +1100 Subject: [PATCH] check the result of dns_zone_getdb call --- bin/check/check-tool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/check/check-tool.c b/bin/check/check-tool.c index 83ef5e85a1..eee639ee9b 100644 --- a/bin/check/check-tool.c +++ b/bin/check/check-tool.c @@ -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));