summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Lucina <mato@kotelna.sk>2010-08-07 18:33:44 +0200
committerMartin Sustrik <sustrik@250bpm.com>2010-08-25 15:39:20 +0200
commit6b1ca2cb1e0adc9f28aae8d322b0832a3b174a04 (patch)
tree37a135034a994c639f5f88d028fd3e08b37093bf
parentcd12508418530724f10a353fc3a14ab321d0be8e (diff)
Fix whitespace
Dunno where those <TAB>s came from...
-rw-r--r--src/zmq.cpp6
1 files changed, 3 insertions, 3 deletions
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;