From 664320a88f4782d0bccf012da01a39dd54632d24 Mon Sep 17 00:00:00 2001 From: Evan Hunt Date: Tue, 18 Sep 2012 14:22:33 -0700 Subject: [PATCH] remove spurious newline 3377. [bug] Removed spurious newline from NSEC3 multiline output. [RT #31044] --- CHANGES | 3 +++ lib/dns/rdata/generic/nsec3_50.c | 4 +--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CHANGES b/CHANGES index 14efda3be2..f469376996 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,6 @@ +3377. [bug] Removed spurious newline from NSEC3 multiline + output. [RT #31044] + 3376. [bug] Lack of EDNS support was being recorded without a successful response. [RT #30811] diff --git a/lib/dns/rdata/generic/nsec3_50.c b/lib/dns/rdata/generic/nsec3_50.c index 14962d3f30..19b94efa06 100644 --- a/lib/dns/rdata/generic/nsec3_50.c +++ b/lib/dns/rdata/generic/nsec3_50.c @@ -194,9 +194,7 @@ totext_nsec3(ARGS_TOTEXT) { RETERR(isc_base32hex_totext(&sr, 1, "", target)); sr.length = i - j; - if ((tctx->flags & DNS_STYLEFLAG_MULTILINE) != 0) - RETERR(str_totext(tctx->linebreak, target)); - else + if ((tctx->flags & DNS_STYLEFLAG_MULTILINE) == 0) RETERR(str_totext(" ", target)); /* Types covered */