diff options
-rw-r--r-- | libcli.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1030,6 +1030,8 @@ int cli_loop_read_next_char(struct cli_def *cli, struct cli_loop_ctx *ctx, unsig ctx->l = -1; return CLI_LOOP_CTRL_BREAK; } + if (n == 0) + return CLI_LOOP_CTRL_CONTINUE; } else { |