Commit f3de5348 authored by Nick Guiffrida's avatar Nick Guiffrida

Do not assign rc to zmq_poller_destroy in zmq_poller_poll

* Doing so was zmq_poller_poll to always return 0.
parent f46e45c2
......@@ -842,7 +842,7 @@ inline int zmq_poller_poll (zmq_pollitem_t *items_, int nitems_, long timeout_)
}
// Cleanup
rc = zmq_poller_destroy (&poller);
zmq_poller_destroy (&poller);
delete [] events;
return rc;
}
......
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