summaryrefslogtreecommitdiffstats
path: root/WebServer/Socket.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--WebServer/Socket.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/WebServer/Socket.cpp b/WebServer/Socket.cpp
index 6a5f51ee7..695d18b2b 100644
--- a/WebServer/Socket.cpp
+++ b/WebServer/Socket.cpp
@@ -359,7 +359,7 @@ SocketSelect::SocketSelect(Socket const * const s1, Socket const * const s2, Typ
bool SocketSelect::Readable(Socket const* const s)
{
- return (FD_ISSET(s->s_,&fds_));
+ return (FD_ISSET(s->s_,&fds_) != 0);
}