summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMartin Pales <m.pales@gmail.com>2010-10-14 08:38:11 +0200
committerMartin Sustrik <sustrik@250bpm.com>2010-10-14 08:38:11 +0200
commitda73b7c6f60f2ea1adc6fbd99e22576b9ce2f316 (patch)
tree6ae5aa2f01760d55b566298170bfac04bc23595c /src
parente2167cecaefec6557c7a5712fb75e51487ff69a6 (diff)
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>
Diffstat (limited to 'src')
-rw-r--r--src/devpoll.cpp2
1 files changed, 1 insertions, 1 deletions
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;