From 23e5c3b342793ca871747b7d6681d445b34925bb Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Tue, 29 Dec 2009 07:53:33 +0100 Subject: polling on SUB socket fixed --- src/sub.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/sub.cpp') diff --git a/src/sub.cpp b/src/sub.cpp index 95039d7..b2174c5 100644 --- a/src/sub.cpp +++ b/src/sub.cpp @@ -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 () -- cgit v1.2.3