0
0
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:
Bernd Prager 2011-10-27 17:11:28 +02:00 committed by Martin Sustrik
parent 9b3e61a178
commit 52bab42212

View File

@ -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);