[dovecot-cvs] dovecot/src/lib-index mail-index-sync-update.c, 1.76,
1.77
cras at dovecot.org
cras at dovecot.org
Mon Dec 20 09:51:42 EET 2004
Update of /var/lib/cvs/dovecot/src/lib-index
In directory talvi:/tmp/cvs-serv25637
Modified Files:
mail-index-sync-update.c
Log Message:
comment update
Index: mail-index-sync-update.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-index/mail-index-sync-update.c,v
retrieving revision 1.76
retrieving revision 1.77
diff -u -d -r1.76 -r1.77
--- mail-index-sync-update.c 20 Dec 2004 07:49:52 -0000 1.76
+++ mail-index-sync-update.c 20 Dec 2004 07:51:40 -0000 1.77
@@ -108,6 +108,7 @@
if (seq1 == 0)
return 1;
+ /* don't call expunge handlers if we're syncing view */
if (ctx->type != MAIL_INDEX_SYNC_HANDLER_VIEW &&
!ctx->expunge_handlers_set)
mail_index_sync_init_expunge_handlers(ctx);
@@ -119,7 +120,6 @@
&expunge_handlers_count);
expunge_handlers_count /= sizeof(*expunge_handlers);
} else {
- /* syncing view - don't call expunge handlers */
expunge_handlers = NULL;
expunge_handlers_count = 0;
}
More information about the dovecot-cvs
mailing list