Commit 2cf9fcbb authored by Deucе's avatar Deucе 👌🏾
Browse files

Put the kbhit() check back into the connect loop

Was removed along with select() in e2094fb9
parent f92a14cd
Pipeline #2149 passed with stage
in 7 minutes and 29 seconds
......@@ -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:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment