]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
[master] fixed mistake with delve +short
authorEvan Hunt <each@isc.org>
Sun, 16 Feb 2014 21:25:53 +0000 (13:25 -0800)
committerEvan Hunt <each@isc.org>
Sun, 16 Feb 2014 21:25:53 +0000 (13:25 -0800)
bin/delve/delve.c

index 3ff7d78fb002bac585d9ae1089e461c8c14d6c57..b01c6becdd27a8d0fb328ccd88baa31a26cf6267 100644 (file)
@@ -465,7 +465,9 @@ printdata(dns_rdataset_t *rdataset, dns_name_t *owner,
                if (result == ISC_R_NOSPACE) {
                        isc_mem_put(mctx, t, len);
                        len += 1024;
-               } else
+               } else if (result == ISC_R_NOMORE)
+                       result = ISC_R_SUCCESS;
+               else
                        CHECK(result);
        } while (result == ISC_R_NOSPACE);