diff options
author | Thomas Adam <thomas@xteddy.org> | 2015-11-03 16:01:11 +0000 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2015-11-03 16:01:11 +0000 |
commit | 696826913cef831f71cd7ce497720f7ebbc333f3 (patch) | |
tree | cad2837be0af89037e022e0168fda33c5d31753a | |
parent | c975de2e07bdb21c85fc4f2c14a17bc00ca63aff (diff) | |
parent | 455284f1c02af1a4e0d68555e285563ce7fffb8f (diff) |
Merge branch 'obsd-master'
-rw-r--r-- | cmd-attach-session.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-attach-session.c b/cmd-attach-session.c index e5589277..cb1f589e 100644 --- a/cmd-attach-session.c +++ b/cmd-attach-session.c @@ -139,7 +139,7 @@ cmd_attach_session(struct cmd_q *cmdq, const char *tflag, int dflag, int rflag, TAILQ_FOREACH(c_loop, &clients, entry) { if (c_loop->session != s || c == c_loop) continue; - proc_send_s(c->peer, MSG_DETACH, s->name); + proc_send_s(c_loop->peer, MSG_DETACH, s->name); } } |