Return to server.c CVS log | Up to [local] / src / usr.bin / tmux |
version 1.24, 2009/08/23 17:29:51 | version 1.25, 2009/08/31 11:37:27 | ||
---|---|---|---|
|
|
||
} | } | ||
log_debug("lost client %d", c->ibuf.fd); | log_debug("lost client %d", c->ibuf.fd); | ||
tty_free(&c->tty); | /* | ||
* If CLIENT_TERMINAL hasn't been set, then tty_init hasn't been called | |||
* and tty_free might close an unrelated fd. | |||
*/ | |||
if (c->flags & CLIENT_TERMINAL) | |||
tty_free(&c->tty); | |||
screen_free(&c->status); | screen_free(&c->status); | ||