am 754f16fc: Merge "Fix installd command line parser"

* commit '754f16fcf4b56f52450f91e3e840bad8a2cc997c':
  Fix installd command line parser
This commit is contained in:
Mike Lockwood 2014-11-21 05:10:57 +00:00 committed by Android Git Automerger
commit 8b1a27740d

View File

@ -255,8 +255,10 @@ static int execute(int s, char cmd[BUFFER_MAX])
goto done; goto done;
} }
} }
if (*cmd) {
cmd++; cmd++;
} }
}
for (i = 0; i < sizeof(cmds) / sizeof(cmds[0]); i++) { for (i = 0; i < sizeof(cmds) / sizeof(cmds[0]); i++) {
if (!strcmp(cmds[i].name,arg[0])) { if (!strcmp(cmds[i].name,arg[0])) {