2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 21:47:59 +00:00
This commit is contained in:
Andreas Gustafsson 2001-07-06 22:53:48 +00:00
parent 886db6ade3
commit f2ee3341c7

View File

@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/ */
/* $Id: masterdump.c,v 1.51 2001/06/27 04:30:37 mayer Exp $ */ /* $Id: masterdump.c,v 1.52 2001/07/06 22:53:48 gson Exp $ */
#include <config.h> #include <config.h>
@ -813,13 +813,12 @@ dump_rdatasets(isc_mem_t *mctx, dns_name_t *name, dns_rdatasetiter_t *rdsiter,
fprintf(f, "; %s\n", trustnames[trust]); fprintf(f, "; %s\n", trustnames[trust]);
} }
if (rds->type == 0 && if (rds->type == 0 &&
(ctx->style.flags & DNS_STYLEFLAG_NCACHE) == 0) { (ctx->style.flags & DNS_STYLEFLAG_NCACHE) == 0) {
/* Omit negative cache entries */ /* Omit negative cache entries */
} else { } else {
isc_result_t result = isc_result_t result =
dump_rdataset(mctx, name, rds, ctx, dump_rdataset(mctx, name, rds, ctx,
buffer, f); buffer, f);
if (result != ISC_R_SUCCESS) if (result != ISC_R_SUCCESS)
dumpresult = result; dumpresult = result;
if ((ctx->style.flags & DNS_STYLEFLAG_OMIT_OWNER) != 0) if ((ctx->style.flags & DNS_STYLEFLAG_OMIT_OWNER) != 0)