MINOR: tools: buf2ip6 must not modify output on failure
authorWilly Tarreau <w@1wt.eu>
Thu, 12 Dec 2013 10:29:39 +0000 (11:29 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 12 Dec 2013 14:42:11 +0000 (15:42 +0100)
commit075415a4aad9d1646e74aec1e2f77a2c6e5ac5a5
treed522e6cf9ead4295c08bf9eafc8d61c9f03fec8a
parente3ded59706cd8ad6d4739ab94c67be886ab61b58
MINOR: tools: buf2ip6 must not modify output on failure

Use a temporary output buffer to ensure we don't affect the output
on failure of inet_pton().
src/standard.c