Merge branch 'obsd-master'

This commit is contained in:
Thomas Adam
2026-02-02 19:06:25 +00:00
20 changed files with 948 additions and 674 deletions

View File

@@ -441,9 +441,9 @@ server_destroy_session(struct session *s)
else if (detach_on_destroy == 2)
s_new = server_find_session(s, server_newer_detached_session);
else if (detach_on_destroy == 3)
s_new = session_previous_session(s);
s_new = session_previous_session(s, NULL);
else if (detach_on_destroy == 4)
s_new = session_next_session(s);
s_new = session_next_session(s, NULL);
/*
* If no suitable new session was found above, then look for any