Drop the no_stop argument to tty_close and tty_free in favour of a flag in the

tty struct.
This commit is contained in:
Nicholas Marriott
2009-08-11 19:32:25 +00:00
parent f0635717b3
commit ff65e37545
4 changed files with 15 additions and 9 deletions

View File

@ -90,7 +90,7 @@ server_msg_dispatch(struct client *c)
fatalx("bad MSG_EXITING size");
c->session = NULL;
tty_close(&c->tty, c->flags & CLIENT_SUSPENDED);
tty_close(&c->tty);
server_write_client(c, MSG_EXITED, NULL, 0);
break;
case MSG_UNLOCK: