diff options
-rw-r--r-- | AUTHORS | 1 | ||||
-rw-r--r-- | src/devpoll.cpp | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -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> diff --git a/src/devpoll.cpp b/src/devpoll.cpp index 75df105..bfca042 100644 --- a/src/devpoll.cpp +++ b/src/devpoll.cpp @@ -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; |