mirror of
https://github.com/zeromq/libzmq.git
synced 2025-11-07 05:58:45 +01:00
ZMQ_TBC renamed to ZMQ_MORE
This commit is contained in:
@@ -311,10 +311,10 @@ int zmq::socket_base_t::connect (const char *addr_)
|
||||
|
||||
int zmq::socket_base_t::send (::zmq_msg_t *msg_, int flags_)
|
||||
{
|
||||
// ZMQ_TBC is actually a message flag, not a real send-flag
|
||||
// ZMQ_MORE is actually a message flag, not a real send-flag
|
||||
// such as ZMQ_NOBLOCK. At this point we impose it on the message.
|
||||
if (flags_ & ZMQ_TBC)
|
||||
msg_->flags |= ZMQ_MSG_TBC;
|
||||
if (flags_ & ZMQ_MORE)
|
||||
msg_->flags |= ZMQ_MSG_MORE;
|
||||
|
||||
// Process pending commands, if any.
|
||||
app_thread->process_commands (false, true);
|
||||
|
||||
Reference in New Issue
Block a user