diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2015-04-22 15:05:04 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2015-04-22 15:05:04 +0000 |
commit | 3117196c7dbbf1e3b5088c06cf04bc56f38439e6 (patch) | |
tree | 5faefa26bdaf58161bea0ee84108dd7235147ee3 /usr.bin/tmux/server.c | |
parent | 14631d73ac0ea4c613c91104bbdef4a0d2fa274f (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.c | 3 |
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; |