diff options
Diffstat (limited to 'src/compat.h')
-rw-r--r-- | src/compat.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compat.h b/src/compat.h index 85c94830ae..e08e348ed8 100644 --- a/src/compat.h +++ b/src/compat.h @@ -94,7 +94,7 @@ bool static inline IsSelectableSocket(SOCKET s) { #ifdef WIN32 return true; #else - return (s >= 0 && s < FD_SETSIZE); + return (s < FD_SETSIZE); #endif } |