summaryrefslogtreecommitdiffstats
path: root/WebServer
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-02-18 17:04:49 +0100
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-02-18 17:04:49 +0100
commit14617868fb20a7f1602284bc088249e27733894b (patch)
tree7989c887689085edf738600be2b9f6e6c3b5078c /WebServer
parentAdded the skeleton of the cLightingThread object (diff)
downloadcuberite-14617868fb20a7f1602284bc088249e27733894b.tar
cuberite-14617868fb20a7f1602284bc088249e27733894b.tar.gz
cuberite-14617868fb20a7f1602284bc088249e27733894b.tar.bz2
cuberite-14617868fb20a7f1602284bc088249e27733894b.tar.lz
cuberite-14617868fb20a7f1602284bc088249e27733894b.tar.xz
cuberite-14617868fb20a7f1602284bc088249e27733894b.tar.zst
cuberite-14617868fb20a7f1602284bc088249e27733894b.zip
Diffstat (limited to 'WebServer')
-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);
}