From acfd0f8ca2d15111f35ae0034ed3ce130c96b910 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Fri, 30 Apr 2010 04:53:41 +0200 Subject: prefix in XREP recv'd message misses MORE flag --- src/xrep.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/xrep.cpp b/src/xrep.cpp index 051a5ce..4e8d18a 100644 --- a/src/xrep.cpp +++ b/src/xrep.cpp @@ -220,6 +220,7 @@ int zmq::xrep_t::xrecv (zmq_msg_t *msg_, int flags_) zmq_assert (rc == 0); memcpy (zmq_msg_data (msg_), inpipes [current_in].identity.data (), zmq_msg_size (msg_)); + msg_->flags = ZMQ_MSG_MORE; more_in = true; return 0; } -- cgit v1.2.3