0
0
mirror of https://github.com/zeromq/libzmq.git synced 2024-12-27 15:41:05 +08:00

zmq::devpoll_t : correct a typo in loop()

A minor typo correction to resolve compilation error on Solaris.

Signed-off-by: Martin Pales <m.pales@gmail.com>
This commit is contained in:
Martin Pales 2010-10-14 08:38:11 +02:00 committed by Martin Sustrik
parent e2167cecae
commit da73b7c6f6
2 changed files with 2 additions and 1 deletions

View File

@ -26,6 +26,7 @@ Jon Dyte <jon@totient.co.uk>
Kamil Shakirov <kamils80@gmail.com>
Martin Hurton <hurtonm@gmail.com>
Martin Lucina <mato@kotelna.sk>
Martin Pales <m.pales@gmail.com>
Martin Sustrik <sustrik@250bpm.com>
Matus Hamorsky <mhamorsky@gmail.com>
Max Wolf <YIDIEPXGXGPN@spammotel.com>

View File

@ -155,7 +155,7 @@ void zmq::devpoll_t::loop ()
// Wait for events.
poll_req.dp_fds = &ev_buf [0];
poll_req.dp_nfds = nfds;
poll_req.dp_timeout = timout ? timeout : -1;
poll_req.dp_timeout = timeout ? timeout : -1;
int n = ioctl (devpoll_fd, DP_POLL, &poll_req);
if (n == -1 && errno == EINTR)
continue;