Fix bug in nanomsg implementation of poller check.

This commit is contained in:
Alexey Rybalchenko
2015-09-08 14:34:05 +02:00
committed by Mohammad Al-Turany
parent 35ff6c8fc8
commit dc6fb4698c
2 changed files with 1 additions and 3 deletions

View File

@@ -130,7 +130,7 @@ void FairMQPollerNN::Poll(int timeout)
bool FairMQPollerNN::CheckInput(const int index)
{
if (items[index].revents & NN_POLLIN)
if (items[index].revents & (NN_POLLIN | NN_POLLOUT))
{
return true;
}