[dovecot-cvs]
dovecot/src/lib-storage/index/mbox mbox-sync.c, 1.100, 1.101
cras at dovecot.org
cras at dovecot.org
Sat Oct 9 16:54:32 EEST 2004
Update of /var/lib/cvs/dovecot/src/lib-storage/index/mbox
In directory talvi:/tmp/cvs-serv10182/lib-storage/index/mbox
Modified Files:
mbox-sync.c
Log Message:
Recent flag fixes
Index: mbox-sync.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/mbox/mbox-sync.c,v
retrieving revision 1.100
retrieving revision 1.101
diff -u -d -r1.100 -r1.101
--- mbox-sync.c 8 Oct 2004 18:19:12 -0000 1.100
+++ mbox-sync.c 9 Oct 2004 13:54:28 -0000 1.101
@@ -420,7 +420,9 @@
}
}
- if (mail_ctx->recent)
+ if (mail_ctx->recent &&
+ (rec == NULL || (rec->flags & MAIL_INDEX_MAIL_FLAG_DIRTY) == 0 ||
+ (rec->flags & MAIL_RECENT) != 0))
index_mailbox_set_recent(sync_ctx->ibox, sync_ctx->idx_seq);
/* update from_offsets, but not if we're going to rewrite this message.
More information about the dovecot-cvs
mailing list