mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-27 15:41:05 +08:00
Missing bracket added
Signed-off: Martin Sustrik <sustrik@250bpm.com>
This commit is contained in:
parent
9b3e61a178
commit
52bab42212
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user