Skip to content
Snippets Groups Projects
Commit 71078ad3 authored by Martin Storsjö's avatar Martin Storsjö
Browse files

os_support: Don't compare a negative number against socket descriptors


The fds are unsigned integers in the windows definition of struct
sockfds. Due to this, the comparison if (fds[i].fd > n) was always
false.

Signed-off-by: default avatarMartin Storsjö <martin@martin.st>
parent 5aff37d2
No related branches found
No related tags found
Loading
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