zmq.cpp is missing a bracket in the current beta git repository. (0MQ
version 3.0.2 (beta))
The patch below will fix it:

I am submitting this patch under MIT license.


index 248ae4d..ec65607 100644
--- a/src/zmq.cpp
+++ b/src/zmq.cpp
@@ -599,7 +599,7 @@ int zmq_poll (zmq_pollitem_t *items_, int nitems_,
long timeout_)
             }
 #else
             int rc = select (maxfd + 1, &inset, &outset, &errset,
ptimeout);
-            if (unlikely (rc == -1) {
+            if (unlikely (rc == -1)) {
                 if (errno == EINTR || errno == EBADF)
                     return -1;
                 errno_assert (false);

_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to