Webserver: fixed a compiler warning
git-svn-id: http://mc-server.googlecode.com/svn/trunk@287 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
parent
7a9925f982
commit
14617868fb
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user