summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/server-client.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2019-03-16 17:14:07 +0000
committernicm <nicm@openbsd.org>2019-03-16 17:14:07 +0000
commitb2140406a212bf0a749b68b28dcc118a55873e85 (patch)
treea3a55aae818c412ec2b146cfefb8a1bd55bbbfc0 /usr.bin/tmux/server-client.c
parentUnify the top-level structure of interrupt handles. This helps (diff)
downloadwireguard-openbsd-b2140406a212bf0a749b68b28dcc118a55873e85.tar.xz
wireguard-openbsd-b2140406a212bf0a749b68b28dcc118a55873e85.zip
Tidy and rename some bits of status line code.
Diffstat (limited to 'usr.bin/tmux/server-client.c')
-rw-r--r--usr.bin/tmux/server-client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/server-client.c b/usr.bin/tmux/server-client.c
index 3efdc903879..688267e6d11 100644
--- a/usr.bin/tmux/server-client.c
+++ b/usr.bin/tmux/server-client.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: server-client.c,v 1.270 2019/03/15 14:46:58 nicm Exp $ */
+/* $OpenBSD: server-client.c,v 1.271 2019/03/16 17:14:07 nicm Exp $ */
/*
* Copyright (c) 2009 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -204,7 +204,7 @@ server_client_create(int fd)
c->tty.sx = 80;
c->tty.sy = 24;
- screen_init(&c->status.status, c->tty.sx, 1, 0);
+ status_init(c);
c->message_string = NULL;
TAILQ_INIT(&c->message_log);