Skip to content
Snippets Groups Projects
Commit d4083fb0 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 4ba1e56f
parent 474c40c0
No related branches found
No related tags found
No related merge requests found
......@@ -518,6 +518,13 @@ int conn_socket_connect(struct bbslist *bbs)
goto connected;
}
}
else {
if (kbhit()) {
failcode = FAILURE_ABORTED;
closesocket(sock);
sock = INVALID_SOCKET;
}
}
}
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