diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-14 09:24:21 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-14 09:24:21 +0000 |
commit | cc905e149d29a5471bf3dd0b2eb353b3d17e77d4 (patch) | |
tree | 4c87286ea8b649e3517d354a3179d14d57456006 /src | |
parent | 6456dd12983daf4ac2fb26a6faeb89fa9fd32d4c (diff) |
Changed a broken && to & which was preventing epoll from doing outbound connects properly
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2390 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 ff4e4c6f3..82e79ece3 100644 --- a/src/socketengine.cpp +++ b/src/socketengine.cpp @@ -120,7 +120,7 @@ bool SocketEngine::DelFd(int fd) } #ifdef USE_KQUEUE struct kevent ke; - EV_SET(&ke, fd, ref[fd] && X_READBIT ? EVFILT_READ : EVFILT_WRITE, EV_DELETE, 0, 0, NULL); + EV_SET(&ke, fd, ref[fd] & X_READBIT ? EVFILT_READ : EVFILT_WRITE, EV_DELETE, 0, 0, NULL); int i = kevent(EngineHandle, &ke, 1, 0, 0, NULL); if (i == -1) { |