Mercurial > dovecot > original-hg > dovecot-1.2
changeset 8107:dfae8a7d695b HEAD
Updated o_stream_flush() comment.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Wed, 27 Aug 2008 08:06:17 +0300 |
parents | 16cb3a2b25ab |
children | b46b0158eb64 |
files | src/lib/ostream.h |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib/ostream.h Mon Aug 25 17:14:27 2008 +0300 +++ b/src/lib/ostream.h Wed Aug 27 08:06:17 2008 +0300 @@ -62,8 +62,8 @@ TCP_CORK on if supported. */ void o_stream_cork(struct ostream *stream); void o_stream_uncork(struct ostream *stream); -/* Flush the output stream, blocks until everything is sent. - Returns 1 if ok, -1 if error. */ +/* Try to flush the output stream. Returns 1 if all sent, 0 if not, + -1 if error. */ int o_stream_flush(struct ostream *stream); /* Set "flush pending" state of stream. If set, the flush callback is called when more data is allowed to be sent, even if the buffer itself is empty. */