Skip to content
Snippets Groups Projects
Commit eb37995b authored by Konstantin Osipov's avatar Konstantin Osipov
Browse files

bsdsocket: break the loop if socket argument is invalid

If socket is not a proper acceptable socket (-1, for example), break the
server accept loop, to avoid CPU hog.
parent c7acdd3c
No related branches found
No related tags found
No related merge requests found
Loading
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