diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2010-11-04 10:01:58 +0100 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2010-11-04 10:01:58 +0100 |
commit | b90e621329688c83f21f26bbe0367966a245e607 (patch) | |
tree | 839678da6331962687cd9ee274614f85be982a20 | |
parent | d4a41067d3e873ba4a87c4711ad2f755e7de9157 (diff) |
minor typo fixed
Devpoll polling mechanism used ZMQ_HAVE_SOLRIS instead of
ZMQ_HAVE_SOLARIS in one case. Fixed.
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
-rw-r--r-- | src/devpoll.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devpoll.cpp b/src/devpoll.cpp index 3cddecc..95923c9 100644 --- a/src/devpoll.cpp +++ b/src/devpoll.cpp @@ -151,7 +151,7 @@ void zmq::devpoll_t::loop () // Wait for events. // On Solaris, we can retrieve no more then (OPEN_MAX - 1) events. poll_req.dp_fds = &ev_buf [0]; -#if defined ZMQ_HAVE_SOLRIS +#if defined ZMQ_HAVE_SOLARIS poll_req.dp_nfds = std::min ((int) max_io_events, OPEN_MAX - 1); #else poll_req.dp_nfds = max_io_events; |