Skip to content
Snippets Groups Projects
Commit 2df42c45 authored by Steven Murray's avatar Steven Murray
Browse files

Fixed a bug with the test for POLLNVAL

parent 0384b30c
Branches
Tags
No related merge requests found
......@@ -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";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment