MINOR: dumpstats: split stats_dump_li_stats() in two parts
authorThierry Fournier <tfournier@arpalert.org>
Fri, 25 Mar 2016 07:20:49 +0000 (08:20 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 30 Mar 2016 15:26:02 +0000 (17:26 +0200)
commitc4456856b0c8679225a50bad00ffe683f0e84e4a
tree9d9ee1fba5beb0d8366f623ace27acf234448b3d
parent23d2d64185988449d23c15af360b6fc8ea39f36b
MINOR: dumpstats: split stats_dump_li_stats() in two parts

This patch splits the function stats_dump_li_stats() in two parts. The
extracted part is called stats_fill_li_stats(), and just fill the stats buffer.
This split allows the usage of preformated stats in other parts of HAProxy
like the Lua.
include/proto/dumpstats.h
src/dumpstats.c