diff options
author | Thomas Adam <thomas@xteddy.org> | 2021-08-25 10:01:10 +0100 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2021-08-25 10:01:10 +0100 |
commit | c7266ca78d5b9f9645ebbf22530cea85ecf2a584 (patch) | |
tree | 16837c6577a96e22e0fcbaaa4e53fdd52df93c44 /cmd-command-prompt.c | |
parent | 6ac09aa47c7fc03a2a418d4723064c100757a428 (diff) | |
parent | c6d6af49039d7fc3ec14c2240153226709497313 (diff) | |
download | rtmux-c7266ca78d5b9f9645ebbf22530cea85ecf2a584.tar.gz rtmux-c7266ca78d5b9f9645ebbf22530cea85ecf2a584.tar.bz2 rtmux-c7266ca78d5b9f9645ebbf22530cea85ecf2a584.zip |
Merge branch 'obsd-master' into master
Diffstat (limited to 'cmd-command-prompt.c')
-rw-r--r-- | cmd-command-prompt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-command-prompt.c b/cmd-command-prompt.c index a877897e..bca1a7fc 100644 --- a/cmd-command-prompt.c +++ b/cmd-command-prompt.c @@ -77,7 +77,7 @@ cmd_command_prompt_exec(struct cmd *self, struct cmdq_item *item) const char *type, *s, *input; struct cmd_command_prompt_cdata *cdata; char *tmp, *prompts, *prompt, *next_prompt; - char *inputs, *next_input; + char *inputs = NULL, *next_input; u_int count = args_count(args); int wait = !args_has(args, 'b'), space = 1; |