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

Put the kbhit() check back into the connect loop

Was removed along with select() in e2094fb9
parent f92a14cd
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #2149 passed
...@@ -518,6 +518,13 @@ int conn_socket_connect(struct bbslist *bbs) ...@@ -518,6 +518,13 @@ int conn_socket_connect(struct bbslist *bbs)
goto connected; goto connected;
} }
} }
else {
if (kbhit()) {
failcode = FAILURE_ABORTED;
closesocket(sock);
sock = INVALID_SOCKET;
}
}
} }
connected: connected:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment