Skip to content
Snippets Groups Projects
Commit d6db8feb authored by rswindell's avatar rswindell
Browse files

web_terminate() needs to set server_socket to INVALID_SOCKET.

parent d2e035fa
No related branches found
No related tags found
No related merge requests found
...@@ -1051,6 +1051,7 @@ void DLLCALL web_terminate(void) ...@@ -1051,6 +1051,7 @@ void DLLCALL web_terminate(void)
if(server_socket!=INVALID_SOCKET) { if(server_socket!=INVALID_SOCKET) {
lprintf("%04d Web Terminate: closing socket",server_socket); lprintf("%04d Web Terminate: closing socket",server_socket);
close_socket(server_socket); close_socket(server_socket);
server_socket=INVALID_SOCKET;
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment