Skip to content
Snippets Groups Projects
Commit f8c7b04f authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Set client_socket to INVALID_SOCKET after closing.

parent 346a2d30
Branches
Tags
No related merge requests found
Pipeline #5394 canceled
......@@ -376,6 +376,7 @@ bool sbbs_t::answer()
ssh_mode = false;
pthread_mutex_unlock(&ssh_mutex);
close_socket(client_socket);
client_socket = INVALID_SOCKET;
useron.number = 0;
return false;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment