From d77fb3be552eefbfb9cdd43ff23d794796d7a36c Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Thu, 9 Oct 2014 18:41:06 +0300 Subject: [PATCH] lib: Updated comment to o_stream_send_istream() --- src/lib/ostream.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/ostream.h b/src/lib/ostream.h index dbf1ff28f4..b73dafcab7 100644 --- a/src/lib/ostream.h +++ b/src/lib/ostream.h @@ -127,9 +127,9 @@ void o_stream_ignore_last_errors(struct ostream *stream); When creating wrapper streams, they copy this behavior from the parent stream. */ void o_stream_set_no_error_handling(struct ostream *stream, bool set); -/* Send data from input stream. Returns number of bytes sent, or -1 if error. - Note that this function may block if either instream or outstream is - blocking. +/* Send data from input stream. Returns number of bytes sent, or -1 if error + in either outstream or instream. Note that this function may block if either + instream or outstream is blocking. Also note that this function may not add anything to the output buffer, so if you want the flush callback to be called when more data can be written, -- 2.47.3