diff options
Diffstat (limited to 'src/zmq_engine.cpp')
-rw-r--r-- | src/zmq_engine.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/zmq_engine.cpp b/src/zmq_engine.cpp index f12fe1a..298dd57 100644 --- a/src/zmq_engine.cpp +++ b/src/zmq_engine.cpp @@ -97,11 +97,8 @@ void zmq::zmq_engine_t::in_event () if (inpos < insize) reset_pollin (handle); - // If at least one byte was processed, flush all messages the decoder - // may have produced. - if (nbytes > 0) - inout->flush (); - + // Flush all messages the decoder may have produced. + inout->flush (); } void zmq::zmq_engine_t::out_event () |