dovecot-2.0: lib-index: Crashfix in some cases when flags unexpe...
dovecot at dovecot.org
dovecot at dovecot.org
Tue Jul 6 19:01:47 EEST 2010
details: http://hg.dovecot.org/dovecot-2.0/rev/962c9144a31d
changeset: 11741:962c9144a31d
user: Timo Sirainen <tss at iki.fi>
date: Tue Jul 06 17:01:44 2010 +0100
description:
lib-index: Crashfix in some cases when flags unexpectedly weren't changed
diffstat:
src/lib-index/mail-index-transaction-finish.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 07353259bb41 -r 962c9144a31d src/lib-index/mail-index-transaction-finish.c
--- a/src/lib-index/mail-index-transaction-finish.c Tue Jul 06 16:55:23 2010 +0100
+++ b/src/lib-index/mail-index-transaction-finish.c Tue Jul 06 17:01:44 2010 +0100
@@ -115,7 +115,7 @@
ARRAY_TYPE(seq_range) keeps;
uint32_t seq;
- if (!t->drop_unnecessary_flag_updates)
+ if (!t->drop_unnecessary_flag_updates || !array_is_created(&t->updates))
return;
t_array_init(&keeps, 64);
More information about the dovecot-cvs
mailing list