summaryrefslogtreecommitdiff
path: root/src/xrep.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/xrep.cpp')
-rw-r--r--src/xrep.cpp1
1 files changed, 1 insertions, 0 deletions
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;
}