]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
missing space before other len after change #3389
authorMark Andrews <marka@isc.org>
Wed, 17 Oct 2012 01:48:12 +0000 (12:48 +1100)
committerMark Andrews <marka@isc.org>
Wed, 17 Oct 2012 01:48:12 +0000 (12:48 +1100)
lib/dns/rdata/any_255/tsig_250.c

index 1d0a836bfa88d6d39c74cd900c4581204bddda64..3f91f91c009a9c19f842da87958add76ffd9f539 100644 (file)
@@ -133,7 +133,7 @@ static inline isc_result_t
 totext_any_tsig(ARGS_TOTEXT) {
        isc_region_t sr;
        isc_region_t sigr;
-       char buf[sizeof("281474976710655 ")];
+       char buf[sizeof(" 281474976710655 ")];
        char *bufp;
        dns_name_t name;
        dns_name_t prefix;
@@ -233,7 +233,7 @@ totext_any_tsig(ARGS_TOTEXT) {
         */
        n = uint16_fromregion(&sr);
        isc_region_consume(&sr, 2);
-       sprintf(buf, "%u ", n);
+       sprintf(buf, " %u ", n);
        RETERR(str_totext(buf, target));
 
        /*