From 14617868fb20a7f1602284bc088249e27733894b Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Sat, 18 Feb 2012 16:04:49 +0000 Subject: Webserver: fixed a compiler warning git-svn-id: http://mc-server.googlecode.com/svn/trunk@287 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- WebServer/Socket.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'WebServer/Socket.cpp') 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); } -- cgit v1.2.3