mirror of
https://github.com/tmate-io/tmate.git
synced 2025-02-22 21:31:16 +01: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