diff options
Diffstat (limited to 'src/socketengine.cpp')
-rw-r--r-- | src/socketengine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/socketengine.cpp b/src/socketengine.cpp index f19a8d082..f4f149eed 100644 --- a/src/socketengine.cpp +++ b/src/socketengine.cpp @@ -132,7 +132,7 @@ bool SocketEngine::Wait(std::vector<int> &fdlist) int sresult; for (unsigned int a = 0; a < fds.size(); a++) { - if (ref[fds[a]] && X_READBIT) + if (ref[fds[a]] & X_READBIT) { FD_SET (fds[a], &rfdset); } |