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