Commit 4a24805f authored by Constantin Rack's avatar Constantin Rack Committed by GitHub

Merge pull request #2225 from bluca/select_broken

Problem: select broken
parents e6572fac 121c9d16
......@@ -898,7 +898,7 @@ FD_ZERO(&t_rfds);
FD_SET(0, &t_rfds);
tv.tv_sec = 5;
tv.tv_usec = 0;
select(1, &t_rfds, NULL, NULL, &tv);
select(1, &t_rfds, 0, 0, &tv);
]])],
[$1],[$2]
)
......
......@@ -53,8 +53,8 @@ zmq::select_t::select_t (const zmq::ctx_t &ctx_) :
// Fine as long as map is not cleared.
current_family_entry_it (family_entries.end ()),
#else
retired (false),
maxfd (retired_fd),
retired (false),
#endif
stopping (false)
{
......
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