commit | 501f60244f0f5c304804c6085e28d3d35b7d51a3 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Jan 08 17:37:22 2016 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Fri Mar 11 17:08:05 2016 +0100 |
tree | 322887a373286497632635e61cb8488bd94f622a | |
parent | 5b9bdff007722b76dce0a0374580535aaec74d47 [diff] |
MINOR: stats: introduce stats_dump_one_line() to dump one stats line This new function dumps the current stats line according to the specified format (CSV or HTML for now), and returns these functions' output code, which will serve later to indicate a failure (eg: buffer full). This further simplifies the code since all dumpers now just call this function.