mirror of
https://github.com/tmux/tmux.git
synced 2024-11-13 23:58:51 +00:00
Do not execute commands for a client until it has identified, fixes
problem reported by Frank Terbeck.
This commit is contained in:
parent
36f8fa316d
commit
b7398a4918
6
server.c
6
server.c
@ -194,8 +194,10 @@ server_loop(void)
|
|||||||
|
|
||||||
do {
|
do {
|
||||||
items = cmdq_next(NULL);
|
items = cmdq_next(NULL);
|
||||||
TAILQ_FOREACH(c, &clients, entry)
|
TAILQ_FOREACH(c, &clients, entry) {
|
||||||
items += cmdq_next(c);
|
if (c->flags & CLIENT_IDENTIFIED)
|
||||||
|
items += cmdq_next(c);
|
||||||
|
}
|
||||||
} while (items != 0);
|
} while (items != 0);
|
||||||
|
|
||||||
server_client_loop();
|
server_client_loop();
|
||||||
|
Loading…
Reference in New Issue
Block a user