Commit ffdb44ad authored by Nick Guiffrida's avatar Nick Guiffrida

Fix zmq_poll return code assert in tests/test_radio_dish.cpp

parent 1a2d58e4
...@@ -167,7 +167,7 @@ int main (void) ...@@ -167,7 +167,7 @@ int main (void)
{ dish, 0, ZMQ_POLLIN, 0 }, // read subscriptions { dish, 0, ZMQ_POLLIN, 0 }, // read subscriptions
}; };
rc = zmq_poll(items, 2, 2000); rc = zmq_poll(items, 2, 2000);
assert (rc == 0); assert (rc == 1);
assert (items[1].revents == ZMQ_POLLIN); assert (items[1].revents == ZMQ_POLLIN);
// Check the correct message arrived // Check the correct message arrived
......
Markdown is supported
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