summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/server.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2019-04-17 14:37:49 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2019-04-17 14:37:49 +0000
commitddd9feaf012765cc8a535fff0ceda103da7f7610 (patch)
tree6965433e13502baf0b5d11d30c4c06f9cb48034e /usr.bin/tmux/server.c
parent4d0445e68e521952f9d36dbe08966b4996118c8a (diff)
Break new window and pane creation common code from various commands and
window.c into a separate file spawn.c.
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 d4756e5e49d..96d248e4d6b 100644
--- a/usr.bin/tmux/server.c
+++ b/usr.bin/tmux/server.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: server.c,v 1.183 2018/08/23 15:45:05 nicm Exp $ */
+/* $OpenBSD: server.c,v 1.184 2019/04/17 14:37:48 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -297,7 +297,7 @@ server_send_exit(void)
}
RB_FOREACH_SAFE(s, sessions, &sessions, s1)
- session_destroy(s, __func__);
+ session_destroy(s, 1, __func__);
}
/* Update socket execute permissions based on whether sessions are attached. */