dovecot-2.0: mailbox_update() wasn't updating cache fields corre...
dovecot at dovecot.org
dovecot at dovecot.org
Thu Dec 24 00:13:47 EET 2009
details: http://hg.dovecot.org/dovecot-2.0/rev/8f2c4d0f7247
changeset: 10534:8f2c4d0f7247
user: Timo Sirainen <tss at iki.fi>
date: Wed Dec 23 17:13:42 2009 -0500
description:
mailbox_update() wasn't updating cache fields correctly.
diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
src/lib-storage/index/index-storage.c | 2 +-
diffs (12 lines):
diff -r f4b3e4366e3e -r 8f2c4d0f7247 src/lib-storage/index/index-storage.c
--- a/src/lib-storage/index/index-storage.c Wed Dec 23 17:07:48 2009 -0500
+++ b/src/lib-storage/index/index-storage.c Wed Dec 23 17:13:42 2009 -0500
@@ -562,7 +562,7 @@ index_storage_mailbox_update_cache_field
break;
}
if (j != old_count) {
- field = old_fields[i];
+ field = old_fields[j];
if (field.decision == MAIL_CACHE_DECISION_NO)
field.decision = MAIL_CACHE_DECISION_TEMP;
array_append(&new_fields, &field, 1);
More information about the dovecot-cvs
mailing list