[dovecot-cvs] dovecot/src/lib-storage/index index-sync.c,1.46,1.47
cras at dovecot.org
cras at dovecot.org
Mon Mar 14 23:18:04 EET 2005
Update of /var/lib/cvs/dovecot/src/lib-storage/index
In directory talvi:/tmp/cvs-serv20435/src/lib-storage/index
Modified Files:
index-sync.c
Log Message:
Renamed oe6-fetch-no-newmail workaround to delay-newmail and changed it to
work more like the name says: only newmail notifications are skipped and
not only for FETCH command.
Index: index-sync.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/index-sync.c,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -d -r1.46 -r1.47
--- index-sync.c 14 Mar 2005 20:48:26 -0000 1.46
+++ index-sync.c 14 Mar 2005 21:18:02 -0000 1.47
@@ -144,6 +144,8 @@
sync_mask = MAIL_INDEX_SYNC_MASK_ALL;
if ((flags & MAILBOX_SYNC_FLAG_NO_EXPUNGES) != 0)
sync_mask &= ~MAIL_INDEX_SYNC_TYPE_EXPUNGE;
+ if ((flags & MAILBOX_SYNC_FLAG_NO_NEWMAIL) != 0)
+ sync_mask &= ~MAIL_INDEX_SYNC_TYPE_APPEND;
if (mail_index_view_sync_begin(ibox->view, sync_mask,
&ctx->sync_ctx) < 0) {
More information about the dovecot-cvs
mailing list