mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-29 12:18:04 +01:00
@@ -165,7 +165,7 @@ bool zmq::pipe_t::write (msg_t *msg_)
|
||||
if (unlikely (!check_write (msg_)))
|
||||
return false;
|
||||
|
||||
bool more = msg_->flags () & (msg_t::more | msg_t::label);
|
||||
bool more = msg_->flags () & (msg_t::more | msg_t::label) ? true : false;
|
||||
outpipe->write (*msg_, more);
|
||||
if (!more)
|
||||
msgs_written++;
|
||||
|
||||
Reference in New Issue
Block a user