mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Same bug as last commit, but in the other copy of the loop in this file...
This commit is contained in:
		@@ -108,7 +108,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);
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user