1
0
mirror of https://github.com/tmate-io/tmate-ssh-server.git synced 2020-11-18 19:53:51 -08:00

Merge branch 'obsd-master'

This commit is contained in:
Thomas Adam 2015-12-21 10:01:08 +00:00
commit 5083e93957

View File

@ -91,7 +91,7 @@ cmd_attach_session(struct cmd_q *cmdq, int dflag, int rflag, const char *cflag,
TAILQ_FOREACH(c_loop, &clients, entry) { TAILQ_FOREACH(c_loop, &clients, entry) {
if (c_loop->session != s || c == c_loop) if (c_loop->session != s || c == c_loop)
continue; continue;
server_client_detach(c, MSG_DETACH); server_client_detach(c_loop, MSG_DETACH);
} }
} }