Merge "Fix installd command line parser"

This commit is contained in:
Mike Lockwood 2014-11-21 05:02:50 +00:00 committed by Gerrit Code Review
commit 754f16fcf4

View File

@ -255,7 +255,9 @@ static int execute(int s, char cmd[BUFFER_MAX])
goto done; goto done;
} }
} }
cmd++; if (*cmd) {
cmd++;
}
} }
for (i = 0; i < sizeof(cmds) / sizeof(cmds[0]); i++) { for (i = 0; i < sizeof(cmds) / sizeof(cmds[0]); i++) {