CLEANUP: stats: improve field selection for frontend http fields
authorWilliam Dauchy <wdauchy@gmail.com>
Fri, 22 Jan 2021 20:09:48 +0000 (21:09 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 25 Jan 2021 14:53:28 +0000 (15:53 +0100)
commit2107a0faf5e0ca6b86f51366d4550fb8a48f9654
tree19f75ac4c3efdf8a18a8f8a9f1f05f4ad5b96abb
parent18a2c6ed4980c8f0b28c9b32170b2d4fe4948d88
CLEANUP: stats: improve field selection for frontend http fields

while working on backend/servers I realised I could have written that in
a better way and avoid one extra break. This is slightly improving
readiness.
also while being here, fix function declaration which was not 100%
accurate.

this patch does not change the behaviour of the code.

Signed-off-by: William Dauchy <wdauchy@gmail.com>
include/haproxy/stats.h
src/stats.c