summaryrefslogtreecommitdiff
path: root/commands.c
diff options
context:
space:
mode:
Diffstat (limited to 'commands.c')
-rw-r--r--commands.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/commands.c b/commands.c
index 67e59b4..7544e51 100644
--- a/commands.c
+++ b/commands.c
@@ -206,6 +206,7 @@ chop_commands (cmds)
idx = strlen (cmds->commands) + 1;
p = (char *) alloca (idx);
bcopy (cmds->commands, p, idx);
+ idx = 0;
while (*p != '\0')
{
char *end = find_char_unquote (p, '\n', 0);