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 ...@@ -61,10 +61,8 @@ namespace zmq
*data_ = write_pos; *data_ = write_pos;
write_pos += *size_; write_pos += *size_;
to_write -= *size_; to_write -= *size_;
pos = *size_;
// TODO: manage beginning & offset here. break;
return;
} }
if (to_write) { 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