1
0
mirror of https://github.com/tmux/tmux.git synced 2025-04-25 06:08:53 +00:00

Initialize client fd to -1 as well, from Bobby Powers.

This commit is contained in:
nicm 2015-07-17 06:53:47 +00:00
parent 8dcea2cc14
commit 3192178f15

View File

@ -96,6 +96,7 @@ server_client_create(int fd)
environ_init(&c->environ);
c->fd = -1;
c->cwd = -1;
c->cmdq = cmdq_new(c);