From da73b7c6f60f2ea1adc6fbd99e22576b9ce2f316 Mon Sep 17 00:00:00 2001 From: Martin Pales Date: Thu, 14 Oct 2010 08:38:11 +0200 Subject: zmq::devpoll_t : correct a typo in loop() A minor typo correction to resolve compilation error on Solaris. Signed-off-by: Martin Pales --- AUTHORS | 1 + src/devpoll.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/AUTHORS b/AUTHORS index fb0b697..b3f2bfc 100644 --- a/AUTHORS +++ b/AUTHORS @@ -26,6 +26,7 @@ Jon Dyte Kamil Shakirov Martin Hurton Martin Lucina +Martin Pales Martin Sustrik Matus Hamorsky Max Wolf 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; -- cgit v1.2.3