dovecot-2.0: o_stream_uncork(): Use flush() as default uncork op...

dovecot at dovecot.org dovecot at dovecot.org
Sat Feb 13 05:46:27 EET 2010


details:   http://hg.dovecot.org/dovecot-2.0/rev/9f0014f19bd3
changeset: 10694:9f0014f19bd3
user:      Timo Sirainen <tss at iki.fi>
date:      Sat Feb 13 05:36:04 2010 +0200
description:
o_stream_uncork(): Use flush() as default uncork operation.

diffstat:

 src/lib/ostream.c |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (12 lines):

diff -r 74d9dbee1399 -r 9f0014f19bd3 src/lib/ostream.c
--- a/src/lib/ostream.c	Sat Feb 13 01:15:12 2010 +0200
+++ b/src/lib/ostream.c	Sat Feb 13 05:36:04 2010 +0200
@@ -76,6 +76,8 @@
 
 	if (_stream->cork != NULL)
 		_stream->cork(_stream, FALSE);
+	else
+		(void)o_stream_flush(stream);
 }
 
 int o_stream_flush(struct ostream *stream)


More information about the dovecot-cvs mailing list