summaryrefslogtreecommitdiffstats
path: root/cmd-queue.c
diff options
context:
space:
mode:
authornicm <nicm>2020-05-16 16:16:07 +0000
committernicm <nicm>2020-05-16 16:16:07 +0000
commitc914abfa19938fe0e41941879649b7a40e192082 (patch)
tree54b011ea618aeb84835cf64a937a08c74f846b5d /cmd-queue.c
parent72984c48347ddfd1d435f8a9ffcdf334c4b28389 (diff)
Expand target from client and use it to expand the prompt.
Diffstat (limited to 'cmd-queue.c')
-rw-r--r--cmd-queue.c3
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;