aboutsummaryrefslogtreecommitdiff
path: root/cmd-queue.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2021-08-21 12:01:41 +0100
committerThomas Adam <thomas@xteddy.org>2021-08-21 12:01:41 +0100
commit62036121fa3f69a93031f90956e659e090d79a1f (patch)
treeff1f52ad0c756d30e0dcc53adf8efd775da80c5a /cmd-queue.c
parentb0da0cee4d54aa64db0f49eee509a76fd89d6f68 (diff)
parent110ba767e591946d6784acef87737850f2ad3ae9 (diff)
downloadrtmux-62036121fa3f69a93031f90956e659e090d79a1f.tar.gz
rtmux-62036121fa3f69a93031f90956e659e090d79a1f.tar.bz2
rtmux-62036121fa3f69a93031f90956e659e090d79a1f.zip
Merge branch 'obsd-master' into master
Diffstat (limited to 'cmd-queue.c')
-rw-r--r--cmd-queue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-queue.c b/cmd-queue.c
index 687d037f..806f1cbb 100644
--- a/cmd-queue.c
+++ b/cmd-queue.c
@@ -413,7 +413,7 @@ cmdq_insert_hook(struct session *s, struct cmdq_item *item,
av = args_first_value(args, flag);
while (av != NULL) {
xsnprintf(tmp, sizeof tmp, "hook_flag_%c_%d", flag, i);
- cmdq_add_format(new_state, tmp, "%s", av->value);
+ cmdq_add_format(new_state, tmp, "%s", av->string);
i++;
av = args_next_value(av);
}