diff options
author | 2013-04-12 12:44:31 +0000 | |
---|---|---|
committer | 2013-04-12 12:44:31 +0000 | |
commit | 9b8cb73506a279bd5c3dcc356e94376d5629f079 (patch) | |
tree | d5dbbd80c0aca9edead8d3cc0089097c9888e8a8 /usr.bin/tmux/cmd-source-file.c | |
parent | Now we can handle bitbanging enable the fallback method of getting (diff) | |
download | wireguard-openbsd-9b8cb73506a279bd5c3dcc356e94376d5629f079.tar.xz wireguard-openbsd-9b8cb73506a279bd5c3dcc356e94376d5629f079.zip |
Copy the client into the new cmdq in source-file so commands that work
on it (such as new-session) can work. Fixes issue reported by oss-adv at
users dot sf dot net.
Diffstat (limited to 'usr.bin/tmux/cmd-source-file.c')
-rw-r--r-- | usr.bin/tmux/cmd-source-file.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tmux/cmd-source-file.c b/usr.bin/tmux/cmd-source-file.c index 033c3247e92..c6e49ae47b4 100644 --- a/usr.bin/tmux/cmd-source-file.c +++ b/usr.bin/tmux/cmd-source-file.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-source-file.c,v 1.16 2013/03/25 10:05:58 nicm Exp $ */ +/* $OpenBSD: cmd-source-file.c,v 1.17 2013/04/12 12:44:31 nicm Exp $ */ /* * Copyright (c) 2008 Tiago Cunha <me@tiagocunha.org> @@ -49,6 +49,7 @@ cmd_source_file_exec(struct cmd *self, struct cmd_q *cmdq) char *cause; cmdq1 = cmdq_new(NULL); + cmdq1->client = cmdq->client; cmdq1->emptyfn = cmd_source_file_done; cmdq1->data = cmdq; |