From 80b3f47796fe2425e74041300b2f63230033bc32 Mon Sep 17 00:00:00 2001 From: Brian Wellington Date: Sat, 17 Mar 2001 01:53:01 +0000 Subject: [PATCH] Empty database nodes caused the program to fail. --- contrib/sdb/pgsql/zonetodb.c | 3 +-- contrib/sdb/zonetodb.c | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/contrib/sdb/pgsql/zonetodb.c b/contrib/sdb/pgsql/zonetodb.c index ea179293b0..2259d0b4a9 100644 --- a/contrib/sdb/pgsql/zonetodb.c +++ b/contrib/sdb/pgsql/zonetodb.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: zonetodb.c,v 1.9 2001/01/09 21:46:32 bwelling Exp $ */ +/* $Id: zonetodb.c,v 1.10 2001/03/17 01:53:01 bwelling Exp $ */ #include #include @@ -236,7 +236,6 @@ main(int argc, char **argv) { check_result(result, "dns_db_allrdatasets"); result = dns_rdatasetiter_first(rdsiter); - check_result(result, "dns_rdatasetiter_first"); while (result == ISC_R_SUCCESS) { dns_rdatasetiter_current(rdsiter, &rdataset); diff --git a/contrib/sdb/zonetodb.c b/contrib/sdb/zonetodb.c index ea179293b0..2259d0b4a9 100644 --- a/contrib/sdb/zonetodb.c +++ b/contrib/sdb/zonetodb.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: zonetodb.c,v 1.9 2001/01/09 21:46:32 bwelling Exp $ */ +/* $Id: zonetodb.c,v 1.10 2001/03/17 01:53:01 bwelling Exp $ */ #include #include @@ -236,7 +236,6 @@ main(int argc, char **argv) { check_result(result, "dns_db_allrdatasets"); result = dns_rdatasetiter_first(rdsiter); - check_result(result, "dns_rdatasetiter_first"); while (result == ISC_R_SUCCESS) { dns_rdatasetiter_current(rdsiter, &rdataset);