]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
reapply accidentally reversed change
authorMark Andrews <marka@isc.org>
Tue, 2 Oct 2012 06:42:50 +0000 (16:42 +1000)
committerMark Andrews <marka@isc.org>
Tue, 2 Oct 2012 06:42:50 +0000 (16:42 +1000)
lib/dns/masterdump.c

index 42ba1f5fa40bca9945035294dc4411e559250c2e..e66b34dc227154c1f723743095ee4468cc8520e9 100644 (file)
@@ -1492,7 +1492,7 @@ dumptostreaminc(dns_dumpctx_t *dctx) {
                }
 
                result = dns_dbiterator_first(dctx->dbiter);
-               if (result != ISC_R_SUCCESS)
+               if (result != ISC_R_SUCCESS && result != ISC_R_NOMORE)
                        goto cleanup;
 
                dctx->first = ISC_FALSE;