diff --git a/nest/cli.c b/nest/cli.c index 24962f10..b54a0d76 100644 --- a/nest/cli.c +++ b/nest/cli.c @@ -143,6 +143,7 @@ cli_printf(cli *c, int code, char *msg, ...) { size = bsprintf(buf, "%04d ", cd); errcode = 8000; + cd = 0; /* Final message - no more continuation lines */ } c->last_reply = cd;