Rename a member to match what it will be in future.

This commit is contained in:
nicm
2021-08-21 10:28:05 +00:00
parent 08e6360f23
commit 110ba767e5
11 changed files with 17 additions and 19 deletions

View File

@ -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);
}