From 6b1ca2cb1e0adc9f28aae8d322b0832a3b174a04 Mon Sep 17 00:00:00 2001 From: Martin Lucina Date: Sat, 7 Aug 2010 18:33:44 +0200 Subject: Fix whitespace Dunno where those s came from... --- src/zmq.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/zmq.cpp b/src/zmq.cpp index d7ce546..ceac158 100644 --- a/src/zmq.cpp +++ b/src/zmq.cpp @@ -389,16 +389,16 @@ int zmq_poll (zmq_pollitem_t *items_, int nitems_, long timeout_) free (pollfds); return -1; } - pollfds [i].events = POLLIN; + pollfds [i].events = POLLIN; } // Else, the poll item is a raw file descriptor. Just convert the // events to normal POLLIN/POLLOUT for poll (). - else { + else { pollfds [i].fd = items_ [i].fd; pollfds [i].events = (items_ [i].events & ZMQ_POLLIN ? POLLIN : 0) | (items_ [i].events & ZMQ_POLLOUT ? POLLOUT : 0); - } + } } int timeout = timeout_ > 0 ? timeout_ / 1000 : -1; -- cgit v1.2.3