BUG/MINOR: cli: fix missing break in command line parser

Yesterday's commit 12833bb ("MINOR: cli: add the new "show pools" command")
missed a "break" statement causing trouble to the "show map" command. Spotted
by Thierry Fournier.
This commit is contained in:
Willy Tarreau 2014-01-29 12:13:39 +01:00
parent cc08d2c9ff
commit 4efb353e47

View File

@ -2180,6 +2180,7 @@ static void cli_io_handler(struct stream_interface *si)
case STAT_CLI_O_MLOOK:
if (stats_map_lookup(si))
appctx->st0 = STAT_CLI_PROMPT;
break;
case STAT_CLI_O_POOLS:
if (stats_dump_pools_to_buffer(si))
appctx->st0 = STAT_CLI_PROMPT;