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:
Christopher Faulet 2016-12-05 14:23:37 +01:00 committed by Willy Tarreau
parent 1002aac161
commit 1821d3c25e

View File

@ -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)