mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-29 04:17:57 +01:00
Message validity is checked in the runtime
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
This commit is contained in:
@@ -49,7 +49,7 @@ int zmq::req_t::xsend (zmq_msg_t *msg_, int flags_)
|
||||
zmq_msg_t prefix;
|
||||
int rc = zmq_msg_init (&prefix);
|
||||
zmq_assert (rc == 0);
|
||||
prefix.flags = ZMQ_MSG_MORE;
|
||||
prefix.flags |= ZMQ_MSG_MORE;
|
||||
rc = xreq_t::xsend (&prefix, flags_);
|
||||
if (rc != 0)
|
||||
return rc;
|
||||
|
||||
Reference in New Issue
Block a user