-
- Downloads
Handle error code in trees_ostream_send_chunk()
In trees_ostream_send_chunk result of o_stream_send was not checked for errors, and function always returns chunk_size it was given. Instead, properly set the errno value from the parent stream and return an error. Reported-by:Tomasz Miąsko <tomasz.miasko@gmail.com> Signed-off-by:
David Goulet <dgoulet@riseup.net>
Please register or sign in to comment