mirror of
https://github.com/zeromq/libzmq.git
synced 2025-03-09 15:26:04 +00:00
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>
This commit is contained in:
parent
d4a41067d3
commit
b90e621329
@ -151,7 +151,7 @@ void zmq::devpoll_t::loop ()
|
|||||||
// Wait for events.
|
// Wait for events.
|
||||||
// On Solaris, we can retrieve no more then (OPEN_MAX - 1) events.
|
// On Solaris, we can retrieve no more then (OPEN_MAX - 1) events.
|
||||||
poll_req.dp_fds = &ev_buf [0];
|
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);
|
poll_req.dp_nfds = std::min ((int) max_io_events, OPEN_MAX - 1);
|
||||||
#else
|
#else
|
||||||
poll_req.dp_nfds = max_io_events;
|
poll_req.dp_nfds = max_io_events;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user