From b2522ec31937682d80a1ea11c94ab5daba6704bf Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Thu, 21 Apr 1994 21:28:02 +0000 Subject: (chop_commands): Fix braino in last change (failed to initialize IDX for loop). --- commands.c | 1 + 1 file changed, 1 insertion(+) (limited to 'commands.c') 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); -- cgit v1.2.3