mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-24 07:37:53 -04:00
MINOR: cli: Remove useless call to bi_putchk
[wt: while it could seem suspicious, the preceeding call to dump_servers_state() indeed flushes the trash in case anything is emitted. No backport needed though.]
This commit is contained in:
parent
1002aac161
commit
1821d3c25e
1 changed files with 0 additions and 5 deletions
|
|
@ -1360,11 +1360,6 @@ static int cli_io_handler_servers_state(struct appctx *appctx)
|
|||
if (curproxy->cap & PR_CAP_BE) {
|
||||
if (!dump_servers_state(si, &trash))
|
||||
return 0;
|
||||
|
||||
if (bi_putchk(si_ic(si), &trash) == -1) {
|
||||
si_applet_cant_put(si);
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
/* only the selected proxy is dumped */
|
||||
if (appctx->ctx.server_state.iid)
|
||||
|
|
|
|||
Loading…
Reference in a new issue