mirror of
https://github.com/tmate-io/tmate.git
synced 2024-12-27 17:18:50 +01:00
Merge branch 'obsd-master'
This commit is contained in:
commit
0ff172fabf
@ -100,7 +100,7 @@ cmd_attach_session(struct cmd_q *cmdq, const char *tflag, int dflag, int rflag,
|
|||||||
* the same session as currently attached to.
|
* the same session as currently attached to.
|
||||||
*/
|
*/
|
||||||
TAILQ_FOREACH(c_loop, &clients, entry) {
|
TAILQ_FOREACH(c_loop, &clients, entry) {
|
||||||
if (c_loop->session != s || c == c)
|
if (c_loop->session != s || c == c_loop)
|
||||||
continue;
|
continue;
|
||||||
server_write_client(c, MSG_DETACH,
|
server_write_client(c, MSG_DETACH,
|
||||||
c_loop->session->name,
|
c_loop->session->name,
|
||||||
|
Loading…
Reference in New Issue
Block a user