dovecot-1.1: Maildir: Fix to earlier >26 keywords handling change.
dovecot at dovecot.org
dovecot at dovecot.org
Thu Feb 5 23:12:06 EET 2009
details: http://hg.dovecot.org/dovecot-1.1/rev/4736327a8740
changeset: 8155:4736327a8740
user: Timo Sirainen <tss at iki.fi>
date: Thu Feb 05 16:12:01 2009 -0500
description:
Maildir: Fix to earlier >26 keywords handling change.
diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
src/lib-storage/index/maildir/maildir-sync-index.c | 2 +-
diffs (12 lines):
diff -r 7d175e4ea57d -r 4736327a8740 src/lib-storage/index/maildir/maildir-sync-index.c
--- a/src/lib-storage/index/maildir/maildir-sync-index.c Wed Feb 04 17:44:01 2009 -0500
+++ b/src/lib-storage/index/maildir/maildir-sync-index.c Thu Feb 05 16:12:01 2009 -0500
@@ -336,7 +336,7 @@ maildir_sync_mail_keywords(struct maildi
ones. we can get these lists easily by removing common elements
from old and new keywords. */
new_indexes = array_get_modifiable(&ctx->keywords, &new_count);
- for (i = 0; i < old_count && j < new_count; ) {
+ for (i = j = 0; i < old_count && j < new_count; ) {
diff = (int)old_indexes[i] - (int)new_indexes[j];
if (diff == 0) {
array_delete(&ctx->keywords, j, 1);
More information about the dovecot-cvs
mailing list