CLEANUP: stats: use srv_shutdown_streams() instead of open-coding it
authorWilly Tarreau <w@1wt.eu>
Thu, 14 Nov 2019 15:42:04 +0000 (16:42 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 15 Nov 2019 06:06:46 +0000 (07:06 +0100)
commitaf7ea814f9e041a97a9a42992d5980db351f2241
tree71c57eb997fbb0d64e66d3734be971a4f915c7c5
parentd9e26a7dd50717255d15f3db16d6ec776d5871c1
CLEANUP: stats: use srv_shutdown_streams() instead of open-coding it

The "shutdown sessions" admin-mode command used to open-code the list
traversal while there's already a function for this: srv_shutdown_streams().
Better use it.
src/stats.c