]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: dumpstats: change the "get map" display management
authorThierry FOURNIER <tfournier@exceliance.fr>
Tue, 11 Mar 2014 17:48:17 +0000 (18:48 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 17 Mar 2014 17:06:07 +0000 (18:06 +0100)
commitb990384c9ad8773b11272831b47e447704e8480e
tree7e5d4e98ff351685c859a8205df8b0515223563e
parentd572343d5142679e08c612261d7bf31103640300
MINOR: dumpstats: change the "get map" display management

The original get map display function set the comma separator after each
word displayed. This is not efficient because we cannot knew if the
displayed word is the last.

This new system set the comma separator before the displayed word, and
independant "\n" is set a the end of the function.
src/dumpstats.c