Commit d4efe498 authored by Steven Murray's avatar Steven Murray
Browse files

Fixed a bug with the test for POLLNVAL

parent 763a31c0
......@@ -965,7 +965,7 @@ int castor::io::connectWithTimeout(
throw ex;
}
if(pollFd.revents | POLLNVAL) {
if(pollFd.revents & POLLNVAL) {
castor::exception::Exception ex;
ex.getMessage() << "Failed to connect"
": File descriptor " << pollFd.fd << " is not open";
......
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