[zeromq-dev] patch for missing bracket in 0MQ version 3.0.2 (beta)
Bernd Prager
bernd at prager.ws
Thu Oct 27 16:55:01 CEST 2011
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);
More information about the zeromq-dev
mailing list