diff options
author | 2016-01-19 16:01:30 +0000 | |
---|---|---|
committer | 2016-01-19 16:01:30 +0000 | |
commit | dead13bb42a09a5b71b21af2e7987837a161c7d4 (patch) | |
tree | 1d3e256dd0fd2539c96743e980136feff8c5b500 /usr.bin/tmux/cmd-queue.c | |
parent | I no longer use my SourceForge address so replace it. (diff) | |
download | wireguard-openbsd-dead13bb42a09a5b71b21af2e7987837a161c7d4.tar.xz wireguard-openbsd-dead13bb42a09a5b71b21af2e7987837a161c7d4.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 'usr.bin/tmux/cmd-queue.c')
-rw-r--r-- | usr.bin/tmux/cmd-queue.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/cmd-queue.c b/usr.bin/tmux/cmd-queue.c index 5a1eb7455bd..daf71ea8844 100644 --- a/usr.bin/tmux/cmd-queue.c +++ b/usr.bin/tmux/cmd-queue.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-queue.c,v 1.34 2016/01/19 15:59:12 nicm Exp $ */ +/* $OpenBSD: cmd-queue.c,v 1.35 2016/01/19 16:01:30 nicm Exp $ */ /* * Copyright (c) 2013 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -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) |