diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-12 12:58:36 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-12 12:58:36 +0000 |
commit | b5254e92e0690da29c1886e4afc1f16cd0f6428f (patch) | |
tree | 06f5a29da9bffed5c79f211c0c99cddae48908cf /src | |
parent | d3f0dfdf9624b14685cad521d7bffc2da315450f (diff) |
Fixed WRITEBIT support in select() engine
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2334 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-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); } |