]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commitdiff
Reset loop counter for multiple commands, found by QA.
authorNathan Scott <nathans@sgi.com>
Mon, 20 Jun 2005 03:49:29 +0000 (03:49 +0000)
committerNathan Scott <nathans@sgi.com>
Mon, 20 Jun 2005 03:49:29 +0000 (03:49 +0000)
Merge of master-melb:xfs-cmds:22910a by kenmcd.

libxcmd/command.c

index ce1c10609d22136e4c2cfe49a049e1101cd66f73..cda21eb676ada03b915511cd055ebfb4219197b7 100644 (file)
@@ -181,6 +181,7 @@ command_loop(void)
                        free(v);
                        free(input);
                }
+               j = 0;  /* reset */
        }
        if (cmdline) {
                free(cmdline);