diff --git a/src/signaler.cpp b/src/signaler.cpp index 6ba0d318..6d7ce982 100644 --- a/src/signaler.cpp +++ b/src/signaler.cpp @@ -266,7 +266,7 @@ int zmq::signaler_t::wait (int timeout_) #elif defined ZMQ_POLL_BASED_ON_SELECT - optimized_fd_set_t fds (FD_SETSIZE); + optimized_fd_set_t fds (1); FD_ZERO (fds.get ()); FD_SET (_r, fds.get ()); struct timeval timeout;