0
0
mirror of https://github.com/zeromq/libzmq.git synced 2024-12-29 00:32:34 +08:00

polling on SUB socket fixed

This commit is contained in:
Martin Sustrik 2009-12-29 07:53:33 +01:00
parent 72161fb075
commit 23e5c3b342

View File

@ -150,10 +150,7 @@ int zmq::sub_t::xrecv (zmq_msg_t *msg_, int flags_)
bool zmq::sub_t::xhas_in ()
{
// TODO: This is more complex as we have to ignore all the messages that
// don't fit the filter.
zmq_assert (false);
return false;
return fq.has_in ();
}
bool zmq::sub_t::xhas_out ()