summaryrefslogtreecommitdiffstats
path: root/cmd-queue.c
diff options
context:
space:
mode:
authornicm <nicm>2021-08-21 10:28:05 +0000
committernicm <nicm>2021-08-21 10:28:05 +0000
commit110ba767e591946d6784acef87737850f2ad3ae9 (patch)
tree426aba10b7217c75e5da803abc034e131b85d5ad /cmd-queue.c
parent08e6360f23284c9e2e521cb466002bdd9350a63d (diff)
Rename a member to match what it will be in future.
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);
}