Mercurial > dovecot > core-2.2
changeset 17930:af382aaad0e8
lib: Updated comment to o_stream_send_istream()
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Thu, 09 Oct 2014 18:41:06 +0300 |
parents | c36cfd735d60 |
children | 71c00e501179 |
files | src/lib/ostream.h |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib/ostream.h Thu Oct 09 18:40:54 2014 +0300 +++ b/src/lib/ostream.h Thu Oct 09 18:41:06 2014 +0300 @@ -127,9 +127,9 @@ 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,