2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 14:07:59 +00:00

add missing check_result

This commit is contained in:
Mark Andrews
2011-08-28 23:35:57 +00:00
parent 84a18c72b9
commit 9a770b4476

View File

@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE. * PERFORMANCE OF THIS SOFTWARE.
*/ */
/* $Id: nsecify.c,v 1.10 2009/09/02 23:48:01 tbox Exp $ */ /* $Id: nsecify.c,v 1.11 2011/08/28 23:35:57 marka Exp $ */
#include <config.h> #include <config.h>
@@ -157,6 +157,7 @@ nsecify(char *filename) {
result = dns_db_createiterator(db, 0, &dbiter); result = dns_db_createiterator(db, 0, &dbiter);
check_result(result, "dns_db_createiterator()"); check_result(result, "dns_db_createiterator()");
result = dns_dbiterator_first(dbiter); result = dns_dbiterator_first(dbiter);
check_result(result, "dns_dbiterator_first()");
node = NULL; node = NULL;
result = next_active(db, wversion, dbiter, name, &node); result = next_active(db, wversion, dbiter, name, &node);
while (result == ISC_R_SUCCESS) { while (result == ISC_R_SUCCESS) {