summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/zmq.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zmq.cpp b/src/zmq.cpp
index 0f54fab..e2bc509 100644
--- a/src/zmq.cpp
+++ b/src/zmq.cpp
@@ -603,7 +603,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);