Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Main
Synchronet
Commits
2cf9fcbb
Commit
2cf9fcbb
authored
May 10, 2021
by
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
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
src/syncterm/conn.c
src/syncterm/conn.c
+7
-0
No files found.
src/syncterm/conn.c
View file @
2cf9fcbb
...
...
@@ -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:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment