Commit 274f9b62 authored by Steven Murray's avatar Steven Murray
Browse files

Fixed poll bitset bug in castor::io

parent f3ef23e9
......@@ -944,7 +944,7 @@ int castor::io::connectWithTimeout(
pollfd pollFd;
pollFd.fd = smartSock.get();
pollFd.events = POLLIN & POLLOUT;
pollFd.events = POLLIN | POLLOUT;
pollFd.revents = 0;
// Wait for the connection to complete using poll() with a timeout
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment