dovecot-1.2: Updated o_stream_flush() comment.
dovecot at dovecot.org
dovecot at dovecot.org
Wed Aug 27 08:07:57 EEST 2008
details: http://hg.dovecot.org/dovecot-1.2/rev/dfae8a7d695b
changeset: 8107:dfae8a7d695b
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 16cb3a2b25ab -r dfae8a7d695b 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