dovecot-2.2: Fixed ostream's new error handling not to always as...

dovecot at dovecot.org dovecot at dovecot.org
Thu Jun 28 09:28:15 EEST 2012


details:   http://hg.dovecot.org/dovecot-2.2/rev/b1a0e44e1dac
changeset: 14696:b1a0e44e1dac
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Jun 28 09:28:05 2012 +0300
description:
Fixed ostream's new error handling not to always assert-crash.

diffstat:

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

diffs (12 lines):

diff -r d419c6cde162 -r b1a0e44e1dac src/lib/ostream.c
--- a/src/lib/ostream.c	Thu Jun 28 03:20:34 2012 +0300
+++ b/src/lib/ostream.c	Thu Jun 28 09:28:05 2012 +0300
@@ -35,7 +35,7 @@
 {
 	struct ostream *stream = *_stream;
 
-	if (!stream->real_stream->last_errors_not_checked &&
+	if (stream->real_stream->last_errors_not_checked &&
 	    !stream->real_stream->error_handling_disabled &&
 	    stream->real_stream->iostream.refcount == 1) {
 		i_panic("output stream %s is missing error handling",


More information about the dovecot-cvs mailing list