]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
Updated o_stream_flush() comment.
authorTimo Sirainen <tss@iki.fi>
Wed, 27 Aug 2008 05:06:17 +0000 (08:06 +0300)
committerTimo Sirainen <tss@iki.fi>
Wed, 27 Aug 2008 05:06:17 +0000 (08:06 +0300)
--HG--
branch : HEAD

src/lib/ostream.h

index e9ab1a7dae7d28e9d519aa86d0cd1aa2b4279c72..08e4dfd541ec5e63cd8f08a980a994ee4a4bc90d 100644 (file)
@@ -62,8 +62,8 @@ void o_stream_set_max_buffer_size(struct ostream *stream, size_t max_size);
    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. */