(chop_commands): Fix braino in last change (failed to initialize IDX for

loop).
This commit is contained in:
Roland McGrath 1994-04-21 21:28:02 +00:00
parent 117d4e0f36
commit b2522ec319

View file

@ -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);