From: Timo Sirainen Date: Wed, 27 Aug 2008 05:06:17 +0000 (+0300) Subject: Updated o_stream_flush() comment. X-Git-Tag: 1.2.alpha1~54 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=683eebe490bbe5caec246c535a10ea9f93f5c330;p=thirdparty%2Fdovecot%2Fcore.git Updated o_stream_flush() comment. --HG-- branch : HEAD --- diff --git a/src/lib/ostream.h b/src/lib/ostream.h index e9ab1a7dae..08e4dfd541 100644 --- a/src/lib/ostream.h +++ b/src/lib/ostream.h @@ -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. */