summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/server.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2009-08-11 19:32:25 +0000
committernicm <nicm@openbsd.org>2009-08-11 19:32:25 +0000
commit130af69d91a6230fb79cc611c8eb4c7c72c39ad8 (patch)
tree984373db0f95918a980e49da2c26ad767f3a19c3 /usr.bin/tmux/server.c
parentDo not bother initializing bufpages in the md code if the computation is (diff)
downloadwireguard-openbsd-130af69d91a6230fb79cc611c8eb4c7c72c39ad8.tar.xz
wireguard-openbsd-130af69d91a6230fb79cc611c8eb4c7c72c39ad8.zip
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);