]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
remove spurious newline
authorEvan Hunt <each@isc.org>
Tue, 18 Sep 2012 21:22:33 +0000 (14:22 -0700)
committerEvan Hunt <each@isc.org>
Tue, 18 Sep 2012 21:22:33 +0000 (14:22 -0700)
3377. [bug] Removed spurious newline from NSEC3 multiline
output. [RT #31044]

CHANGES
lib/dns/rdata/generic/nsec3_50.c

diff --git a/CHANGES b/CHANGES
index 14efda3be2ac8c5b44aa5b56dbab136a2efc22a5..f4693769968ce1e7e1def86d1d98ebf53fc0dda3 100644 (file)
--- 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]
 
index 14962d3f309c85b238644a141f49a89f494192d4..19b94efa06dcae2a515b998b0e55cfe38d102521 100644 (file)
@@ -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 */