mirror of
https://github.com/tmux/tmux.git
synced 2025-01-14 20:58:53 +00:00
Initialize client fd to -1 as well, from Bobby Powers.
This commit is contained in:
parent
8dcea2cc14
commit
3192178f15
@ -96,6 +96,7 @@ server_client_create(int fd)
|
||||
|
||||
environ_init(&c->environ);
|
||||
|
||||
c->fd = -1;
|
||||
c->cwd = -1;
|
||||
|
||||
c->cmdq = cmdq_new(c);
|
||||
|
Loading…
Reference in New Issue
Block a user