aboutsummaryrefslogtreecommitdiff
path: root/server-msg.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-08-11 19:32:25 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-08-11 19:32:25 +0000
commitff65e3754565f1d878c70257e96f6aea09c1c90e (patch)
treec51546af494bfa93dbcc6b38cc09626a3bb7d5bd /server-msg.c
parentf0635717b3e840a72a962a2014b18d84fac4c83a (diff)
downloadrtmux-ff65e3754565f1d878c70257e96f6aea09c1c90e.tar.gz
rtmux-ff65e3754565f1d878c70257e96f6aea09c1c90e.tar.bz2
rtmux-ff65e3754565f1d878c70257e96f6aea09c1c90e.zip
Drop the no_stop argument to tty_close and tty_free in favour of a flag in the
tty struct.
Diffstat (limited to 'server-msg.c')
-rw-r--r--server-msg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server-msg.c b/server-msg.c
index 6cc69a0a..3e82f90a 100644
--- a/server-msg.c
+++ b/server-msg.c
@@ -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: