summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nest/cli.c1
1 files changed, 1 insertions, 0 deletions
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;