diff options
author | nicm <nicm> | 2019-04-17 14:37:48 +0000 |
---|---|---|
committer | nicm <nicm> | 2019-04-17 14:37:48 +0000 |
commit | 78287e27c87ccdda1f8580382b336a0d02c26a03 (patch) | |
tree | e32c5b17141247149bbe79b26d5aa155f8fffcd2 /server-fn.c | |
parent | 835ccbac46c2c6c3a1e3192a1f1f5a5708ccbd48 (diff) | |
download | rtmux-78287e27c87ccdda1f8580382b336a0d02c26a03.tar.gz rtmux-78287e27c87ccdda1f8580382b336a0d02c26a03.tar.bz2 rtmux-78287e27c87ccdda1f8580382b336a0d02c26a03.zip |
Break new window and pane creation common code from various commands and
window.c into a separate file spawn.c.
Diffstat (limited to 'server-fn.c')
-rw-r--r-- | server-fn.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server-fn.c b/server-fn.c index f947d8ff..c4ff4aa9 100644 --- a/server-fn.c +++ b/server-fn.c @@ -368,7 +368,7 @@ server_destroy_session_group(struct session *s) else { TAILQ_FOREACH_SAFE(s, &sg->sessions, gentry, s1) { server_destroy_session(s); - session_destroy(s, __func__); + session_destroy(s, 1, __func__); } } } @@ -435,7 +435,7 @@ server_check_unattached(void) if (s->attached != 0) continue; if (options_get_number (s->options, "destroy-unattached")) - session_destroy(s, __func__); + session_destroy(s, 1, __func__); } } |