CLEANUP: stats: update the trash chunk where it's used
authorWilly Tarreau <w@1wt.eu>
Wed, 17 May 2023 06:43:15 +0000 (08:43 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 17 May 2023 07:33:54 +0000 (09:33 +0200)
commit52fd87995361d68336b20ec931472bac2cb706ba
tree369cf51493d0337c033bdfa6ee0874da3b8a112b
parentcb76030356b5da5a5a5b253a5d7c9742266071d5
CLEANUP: stats: update the trash chunk where it's used

When integrating the number of warnings in "show info" in 2.8 with commit
3c4a297d2 ("MINOR: stats: report the total number of warnings issued"),
the update of the trash buffer used by the Tainted flag got displaced
lower. There's no harm for now util someone adds a new metric requiring
a call to chunk_newstr() and gets both values merged. Let's move the
call to its location now.
src/stats.c