From: Nathan Scott Date: Mon, 20 Jun 2005 03:49:29 +0000 (+0000) Subject: Reset loop counter for multiple commands, found by QA. X-Git-Tag: v2.7.0~14 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b53aa527be186dbf24842cb0453603bbfb9f1108;p=thirdparty%2Fxfsprogs-dev.git Reset loop counter for multiple commands, found by QA. Merge of master-melb:xfs-cmds:22910a by kenmcd. --- diff --git a/libxcmd/command.c b/libxcmd/command.c index ce1c10609..cda21eb67 100644 --- a/libxcmd/command.c +++ b/libxcmd/command.c @@ -181,6 +181,7 @@ command_loop(void) free(v); free(input); } + j = 0; /* reset */ } if (cmdline) { free(cmdline);