Merge branch 'obsd-master' into master

This commit is contained in:
Thomas Adam 2021-08-17 18:01:16 +01:00
commit bacae4b4ad

View File

@ -446,7 +446,7 @@ server_destroy_session(struct session *s)
TAILQ_FOREACH(c, &clients, entry) {
if (c->session != s)
continue;
server_client_set_session(c, NULL);
server_client_set_session(c, s_new);
if (s_new == NULL)
c->flags |= CLIENT_EXIT;
}