dovecot-1.1: Updated o_stream_flush() comment.

dovecot at dovecot.org dovecot at dovecot.org
Wed Aug 27 08:08:04 EEST 2008


details:   http://hg.dovecot.org/dovecot-1.1/rev/b54fa2b84ec0
changeset: 7831:b54fa2b84ec0
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Aug 27 08:06:17 2008 +0300
description:
Updated o_stream_flush() comment.

diffstat:

1 file changed, 2 insertions(+), 2 deletions(-)
src/lib/ostream.h |    4 ++--

diffs (14 lines):

diff -r 482d31bfef17 -r b54fa2b84ec0 src/lib/ostream.h
--- 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 @@ void o_stream_set_max_buffer_size(struct
    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. */


More information about the dovecot-cvs mailing list