Merge branch 'obsd-master'

This commit is contained in:
Thomas Adam 2015-11-03 16:01:11 +00:00
commit 696826913c
1 changed files with 1 additions and 1 deletions

View File

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