summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/server.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2009-08-11 19:32:26 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2009-08-11 19:32:26 +0000
commitcb8e2701ce90572189ab471e9877e2aba067cc41 (patch)
treea96fe2d709dcf816ae94bd3ee4a4911c0e29382b /usr.bin/tmux/server.c
parent45443497d1b1837b0f507d85565636f50fa5cecf (diff)
Drop the no_stop argument to tty_close and tty_free in favour of a flag in the
tty struct.
Diffstat (limited to 'usr.bin/tmux/server.c')
-rw-r--r--usr.bin/tmux/server.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/server.c b/usr.bin/tmux/server.c
index 86a68d93f5e..c9e79389f6b 100644
--- a/usr.bin/tmux/server.c
+++ b/usr.bin/tmux/server.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: server.c,v 1.18 2009/08/11 17:18:35 nicm Exp $ */
+/* $OpenBSD: server.c,v 1.19 2009/08/11 19:32:25 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -902,7 +902,7 @@ server_lost_client(struct client *c)
ARRAY_SET(&clients, i, NULL);
}
- tty_free(&c->tty, c->flags & CLIENT_SUSPENDED);
+ tty_free(&c->tty);
screen_free(&c->status);