ZMQ_TBC renamed to ZMQ_MORE

This commit is contained in:
Martin Sustrik
2010-03-27 21:25:40 +01:00
parent 842b4dd2e4
commit 2f219d7c28
16 changed files with 58 additions and 58 deletions

View File

@@ -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);