Ticket #50623: fix-reattach-with-session-list.patch
File fix-reattach-with-session-list.patch, 421 bytes (added by Tatsh (Andrew Udvare), 9 years ago) |
---|
-
cmd-attach-session.c
old new 120 120 TAILQ_FOREACH(c_loop, &clients, entry) { 121 121 if (c_loop->session != s || c == c_loop) 122 122 continue; 123 server_write_client(c , MSG_DETACH,123 server_write_client(c_loop, MSG_DETACH, 124 124 c_loop->session->name, 125 125 strlen(c_loop->session->name) + 1); 126 126 }