dovecot-2.1: maildir: Don't always drop new flag from files when...
dovecot at dovecot.org
dovecot at dovecot.org
Fri Sep 23 14:52:58 EEST 2011
details: http://hg.dovecot.org/dovecot-2.1/rev/f24550491039
changeset: 13548:f24550491039
user: Timo Sirainen <tss at iki.fi>
date: Fri Sep 23 14:38:24 2011 +0300
description:
maildir: Don't always drop new flag from files when syncing.
diffstat:
src/lib-storage/index/maildir/maildir-uidlist.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (15 lines):
diff -r ed97724884a2 -r f24550491039 src/lib-storage/index/maildir/maildir-uidlist.c
--- a/src/lib-storage/index/maildir/maildir-uidlist.c Fri Sep 23 00:49:51 2011 +0300
+++ b/src/lib-storage/index/maildir/maildir-uidlist.c Fri Sep 23 14:38:24 2011 +0300
@@ -1688,9 +1688,9 @@
}
}
+ rec->flags &= ~MAILDIR_UIDLIST_REC_FLAG_NEW_DIR;
rec->flags = (rec->flags | flags) &
- ~(MAILDIR_UIDLIST_REC_FLAG_NONSYNCED |
- MAILDIR_UIDLIST_REC_FLAG_NEW_DIR);
+ ~MAILDIR_UIDLIST_REC_FLAG_NONSYNCED;
rec->filename = p_strdup(uidlist->record_pool, filename);
hash_table_insert(uidlist->files, rec->filename, rec);
More information about the dovecot-cvs
mailing list