From: Timo Sirainen Date: Thu, 9 Oct 2014 15:41:06 +0000 (+0300) Subject: lib: Updated comment to o_stream_send_istream() X-Git-Tag: 2.2.14~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d77fb3be552eefbfb9cdd43ff23d794796d7a36c;p=thirdparty%2Fdovecot%2Fcore.git lib: Updated comment to o_stream_send_istream() --- 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,