[dovecot-cvs]
dovecot/src/lib-storage/index/mbox mbox-sync.c, 1.157, 1.158
cras at dovecot.org
cras at dovecot.org
Tue Apr 26 22:10:49 EEST 2005
- Previous message: [dovecot-cvs] dovecot/src/lib-storage/index index-mail.c, 1.76,
1.77 index-storage.c, 1.74, 1.75
- Next message: [dovecot-cvs] dovecot/src/lib-index mail-index-view-sync.c, 1.40,
1.41 mail-transaction-util.c, 1.24,
1.25 mail-transaction-util.h, 1.11, 1.12
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/lib/cvs/dovecot/src/lib-storage/index/mbox
In directory talvi:/tmp/cvs-serv26493
Modified Files:
mbox-sync.c
Log Message:
Don't always sync full mbox if first message is the pseudo mail.
Index: mbox-sync.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/mbox/mbox-sync.c,v
retrieving revision 1.157
retrieving revision 1.158
diff -u -d -r1.157 -r1.158
--- mbox-sync.c 26 Apr 2005 14:52:02 -0000 1.157
+++ mbox-sync.c 26 Apr 2005 19:10:47 -0000 1.158
@@ -995,12 +995,12 @@
uid = mail_ctx->mail.uid = rec->uid;
}
- if (rec == NULL) {
- /* from now on, don't skip anything */
- partial = FALSE;
- }
-
if (!mail_ctx->pseudo) {
+ if (rec == NULL) {
+ /* from now on, don't skip anything */
+ partial = FALSE;
+ }
+
/* get all sync records related to this message */
if (mbox_sync_read_index_syncs(sync_ctx, uid,
&expunged) < 0)
- Previous message: [dovecot-cvs] dovecot/src/lib-storage/index index-mail.c, 1.76,
1.77 index-storage.c, 1.74, 1.75
- Next message: [dovecot-cvs] dovecot/src/lib-index mail-index-view-sync.c, 1.40,
1.41 mail-transaction-util.c, 1.24,
1.25 mail-transaction-util.h, 1.11, 1.12
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list