Commit 6b1ca2cb authored by Martin Lucina's avatar Martin Lucina Committed by Martin Sustrik

Fix whitespace

Dunno where those <TAB>s came from...
parent cd125084
...@@ -389,16 +389,16 @@ int zmq_poll (zmq_pollitem_t *items_, int nitems_, long timeout_) ...@@ -389,16 +389,16 @@ int zmq_poll (zmq_pollitem_t *items_, int nitems_, long timeout_)
free (pollfds); free (pollfds);
return -1; return -1;
} }
pollfds [i].events = POLLIN; pollfds [i].events = POLLIN;
} }
// Else, the poll item is a raw file descriptor. Just convert the // Else, the poll item is a raw file descriptor. Just convert the
// events to normal POLLIN/POLLOUT for poll (). // events to normal POLLIN/POLLOUT for poll ().
else { else {
pollfds [i].fd = items_ [i].fd; pollfds [i].fd = items_ [i].fd;
pollfds [i].events = pollfds [i].events =
(items_ [i].events & ZMQ_POLLIN ? POLLIN : 0) | (items_ [i].events & ZMQ_POLLIN ? POLLIN : 0) |
(items_ [i].events & ZMQ_POLLOUT ? POLLOUT : 0); (items_ [i].events & ZMQ_POLLOUT ? POLLOUT : 0);
} }
} }
int timeout = timeout_ > 0 ? timeout_ / 1000 : -1; int timeout = timeout_ > 0 ? timeout_ / 1000 : -1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment