diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2020-05-14 10:35:26 +0100 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2020-05-14 10:35:26 +0100 |
commit | 12eceaf2b3ef2b028a55d8ad11951be700be0446 (patch) | |
tree | daf397baf883145b4294274a557f2b54b395a181 /cmd-queue.c | |
parent | 09a2246b00fdb5b18db13b65d6496511dabba238 (diff) | |
download | rtmux-12eceaf2b3ef2b028a55d8ad11951be700be0446.tar.gz rtmux-12eceaf2b3ef2b028a55d8ad11951be700be0446.tar.bz2 rtmux-12eceaf2b3ef2b028a55d8ad11951be700be0446.zip |
Expand target from client and use it to expand the prompt.
Diffstat (limited to 'cmd-queue.c')
-rw-r--r-- | cmd-queue.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cmd-queue.c b/cmd-queue.c index a40053a6..6bc6d0d2 100644 --- a/cmd-queue.c +++ b/cmd-queue.c @@ -522,7 +522,7 @@ cmdq_find_flag(struct cmdq_item *item, struct cmd_find_state *fs, const char *value; if (flag->flag == 0) { - cmd_find_clear_state(fs, 0); + cmd_find_from_client(fs, item->target_client, 0); return (CMD_RETURN_NORMAL); } @@ -610,7 +610,6 @@ cmdq_fire_command(struct cmdq_item *item) if (retval == CMD_RETURN_ERROR) goto out; - retval = entry->exec(cmd, item); if (retval == CMD_RETURN_ERROR) goto out; |