summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/server.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2015-04-22 15:05:04 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2015-04-22 15:05:04 +0000
commit3117196c7dbbf1e3b5088c06cf04bc56f38439e6 (patch)
tree5faefa26bdaf58161bea0ee84108dd7235147ee3 /usr.bin/tmux/server.c
parent14631d73ac0ea4c613c91104bbdef4a0d2fa274f (diff)
window_index is only used in one place (window_destroy) so inline it there.
Diffstat (limited to 'usr.bin/tmux/server.c')
-rw-r--r--usr.bin/tmux/server.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tmux/server.c b/usr.bin/tmux/server.c
index b7f1537c643..eaa3507e72a 100644
--- a/usr.bin/tmux/server.c
+++ b/usr.bin/tmux/server.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: server.c,v 1.119 2015/04/21 22:32:40 nicm Exp $ */
+/* $OpenBSD: server.c,v 1.120 2015/04/22 15:05:03 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -389,6 +389,7 @@ void
server_signal_callback(int sig, unused short events, unused void *data)
{
int fd;
+
switch (sig) {
case SIGTERM:
server_shutdown = 1;