mirror of
https://github.com/tmate-io/tmate.git
synced 2026-07-24 03:27:37 +00:00
Sync OpenBSD patchset 935:
flags[] should be initialized. From Thomas Adam.
This commit is contained in:
parent
bba822105b
commit
bcacbb1a89
1 changed files with 2 additions and 0 deletions
|
|
@ -54,6 +54,8 @@ cmd_list_keys_exec(struct cmd *self, struct cmd_ctx *ctx)
|
|||
return (cmd_list_keys_table(self, ctx));
|
||||
|
||||
width = 0;
|
||||
*flags = '\0';
|
||||
|
||||
SPLAY_FOREACH(bd, key_bindings, &key_bindings) {
|
||||
key = key_string_lookup_key(bd->key & ~KEYC_PREFIX);
|
||||
if (key == NULL)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue