diff options
author | nicm <nicm> | 2016-01-19 16:01:30 +0000 |
---|---|---|
committer | nicm <nicm> | 2016-01-19 16:01:30 +0000 |
commit | b5b5221c13ded5b141fa35f60c707c9c403b83a6 (patch) | |
tree | 881fffd252c499ab94939520ac067f476f0b6bac /cmd-queue.c | |
parent | 995af0e2b72aec54ba3685b1a8ce5e78d279d8ff (diff) | |
download | rtmux-b5b5221c13ded5b141fa35f60c707c9c403b83a6.tar.gz rtmux-b5b5221c13ded5b141fa35f60c707c9c403b83a6.tar.bz2 rtmux-b5b5221c13ded5b141fa35f60c707c9c403b83a6.zip |
Split out getting the current state from the target search so it can be
replaced if we already know the current.
Diffstat (limited to 'cmd-queue.c')
-rw-r--r-- | cmd-queue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-queue.c b/cmd-queue.c index fcca7eb6..1c80c59d 100644 --- a/cmd-queue.c +++ b/cmd-queue.c @@ -199,7 +199,7 @@ cmdq_continue_one(struct cmd_q *cmdq) cmdq_guard(cmdq, "begin", flags); - if (cmd_prepare_state(cmd, cmdq) != 0) + if (cmd_prepare_state(cmd, cmdq, NULL) != 0) goto error; retval = cmd->entry->exec(cmd, cmdq); if (retval == CMD_RETURN_ERROR) |