summaryrefslogtreecommitdiffstats
path: root/lib/vty.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/vty.c')
-rw-r--r--lib/vty.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/vty.c b/lib/vty.c
index 750f8856..d623b853 100644
--- a/lib/vty.c
+++ b/lib/vty.c
@@ -870,7 +870,7 @@ vty_complete_command (struct vty *vty)
/* In case of 'help \t'. */
if (isspace ((int) vty->buf[vty->length - 1]))
- vector_set (vline, '\0');
+ vector_set (vline, NULL);
matched = cmd_complete_command (vline, vty, &ret);
@@ -985,11 +985,11 @@ vty_describe_command (struct vty *vty)
if (vline == NULL)
{
vline = vector_init (1);
- vector_set (vline, '\0');
+ vector_set (vline, NULL);
}
else
if (isspace ((int) vty->buf[vty->length - 1]))
- vector_set (vline, '\0');
+ vector_set (vline, NULL);
describe = cmd_describe_command (vline, vty, &ret);