Commit 902d4f22 authored by Martin Sustrik's avatar Martin Sustrik

minor fix of zero-copy on tx side

parent 9be877c6
......@@ -61,10 +61,8 @@ namespace zmq
*data_ = write_pos;
write_pos += *size_;
to_write -= *size_;
// TODO: manage beginning & offset here.
return;
pos = *size_;
break;
}
if (to_write) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment