Fix zmq_poll return code assert in tests/test_radio_dish.cpp

This commit is contained in:
Nick Guiffrida 2016-09-30 21:50:31 -07:00
parent 1a2d58e4e7
commit ffdb44ad2c

View File

@ -167,7 +167,7 @@ int main (void)
{ dish, 0, ZMQ_POLLIN, 0 }, // read subscriptions
};
rc = zmq_poll(items, 2, 2000);
assert (rc == 0);
assert (rc == 1);
assert (items[1].revents == ZMQ_POLLIN);
// Check the correct message arrived