lestrrat-p5 / ZMQ

libzmq Perl binding
46 stars 31 forks source link

ZMQ::LibZMQ3 documentation is wrong for zmq_zmg_recv() #52

Closed kromg closed 10 years ago

kromg commented 10 years ago

The doc says zmq_zmg_recv() returns 0 upon success, but it actually returns the number of read bytes - as stated also in the ZMQ reference documentation: "The zmq_msg_recv() function shall return number of bytes in the message if successful." (http://api.zeromq.org/3-2:zmq-msg-recv).

lestrrat commented 10 years ago

doc patches welcome.

kromg commented 10 years ago

Yes, sir. Pull request coming up.

lestrrat commented 10 years ago

@kromg Thank you! Do you need a release (for whatever reason) or can I sit on this change for a while, since it's just a doc tweak?

kromg commented 10 years ago

@lestrrat No need to release immediately, thanks.

lestrrat commented 10 years ago

Had forgotten to close this