Commit 9a15fe7f authored by KIU Shueng Chuan's avatar KIU Shueng Chuan

use required number of descriptors (1) instead of FD_SETSIZE

parent 63abe833
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment