From: Mark Andrews Date: Wed, 17 Oct 2012 01:48:12 +0000 (+1100) Subject: missing space before other len after change #3389 X-Git-Tag: v9.10.0a1~794 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=70bd5ae6fa49a7ac7eea48b8aaf958bb4cce7779;p=thirdparty%2Fbind9.git missing space before other len after change #3389 --- diff --git a/lib/dns/rdata/any_255/tsig_250.c b/lib/dns/rdata/any_255/tsig_250.c index 1d0a836bfa8..3f91f91c009 100644 --- a/lib/dns/rdata/any_255/tsig_250.c +++ b/lib/dns/rdata/any_255/tsig_250.c @@ -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)); /*