dovecot-2.2: lib-storage: Fixed assert-crash on subscribtion cha...

dovecot at dovecot.org dovecot at dovecot.org
Sun Aug 12 03:28:36 EEST 2012


details:   http://hg.dovecot.org/dovecot-2.2/rev/f66e1508dc19
changeset: 14871:f66e1508dc19
user:      Timo Sirainen <tss at iki.fi>
date:      Sun Aug 12 03:28:26 2012 +0300
description:
lib-storage: Fixed assert-crash on subscribtion change that didn't change anything.

diffstat:

 src/lib-storage/list/subscription-file.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (14 lines):

diff -r 2ec8bb1396d1 -r f66e1508dc19 src/lib-storage/list/subscription-file.c
--- a/src/lib-storage/list/subscription-file.c	Sun Aug 12 02:26:12 2012 +0300
+++ b/src/lib-storage/list/subscription-file.c	Sun Aug 12 03:28:26 2012 +0300
@@ -176,8 +176,9 @@
 				failed = TRUE;
 			}
 		}
+	} else {
+		o_stream_ignore_last_errors(output);
 	}
-
 	o_stream_destroy(&output);
 
 	if (failed || !changed) {


More information about the dovecot-cvs mailing list