mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-24 15:21:29 +02:00
CLEANUP: dumpstats: Make cli_release_handler() static
Make cli_release_handler() static, it is only used inside dumpstats.c Signed-off-by: Simon Horman <horms@verge.net.au>
This commit is contained in:
parent
007f2a2d24
commit
74d8831e90
@ -3992,7 +3992,7 @@ static int stats_dump_sess_to_buffer(struct stream_interface *si)
|
||||
* external abort, we won't call the i/o handler anymore so we may need to
|
||||
* remove back references to the session currently being dumped.
|
||||
*/
|
||||
void cli_release_handler(struct stream_interface *si)
|
||||
static void cli_release_handler(struct stream_interface *si)
|
||||
{
|
||||
if (si->applet.st0 == STAT_CLI_O_SESS && si->conn->xprt_st == STAT_ST_LIST) {
|
||||
if (!LIST_ISEMPTY(&si->applet.ctx.sess.bref.users))
|
||||
|
Loading…
x
Reference in New Issue
Block a user