aboutsummaryrefslogtreecommitdiff
path: root/server-msg.c
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2009-08-14 21:17:54 +0000
committerTiago Cunha <tcunha@gmx.com>2009-08-14 21:17:54 +0000
commit5cc971facd30171a03267faf2ca9a875df824b0f (patch)
tree949894dd8a1eb7c7a515a4bf5594b373d780bc33 /server-msg.c
parentb402cef338e863ffe503f2fcdce3fb44d879efbf (diff)
downloadrtmux-5cc971facd30171a03267faf2ca9a875df824b0f.tar.gz
rtmux-5cc971facd30171a03267faf2ca9a875df824b0f.tar.bz2
rtmux-5cc971facd30171a03267faf2ca9a875df824b0f.zip
Sync OpenBSD patchset 244:
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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/server-msg.c b/server-msg.c
index 130d2083..a2b144c5 100644
--- a/server-msg.c
+++ b/server-msg.c
@@ -1,4 +1,4 @@
-/* $Id: server-msg.c,v 1.78 2009-08-14 21:04:04 tcunha Exp $ */
+/* $Id: server-msg.c,v 1.79 2009-08-14 21:17:54 tcunha Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -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: