]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: tools: simplify the use of the int to ascii macros
authorWilly Tarreau <w@1wt.eu>
Sun, 23 Dec 2012 17:00:29 +0000 (18:00 +0100)
committerWilly Tarreau <w@1wt.eu>
Sun, 23 Dec 2012 20:46:30 +0000 (21:46 +0100)
commit56adcf2cc928180e8c201c74af66b674806d1f74
tree74cd20c3ad8d93aa2459778cb5e22e8c6149c359
parent466c9b515db7e21f8d2f29aafd768f8f2d50015a
MINOR: tools: simplify the use of the int to ascii macros

These macros (U2H, U2A, LIM2A, ...) have been used with an explicit
index for the local storage variable, making it difficult to change
log formats and causing a few issues from time to time. Let's have
a single macro with a rotating index so that up to 10 conversions
may be used in a single call.
include/common/standard.h
src/dumpstats.c
src/standard.c