[dovecot-cvs] dovecot/src/lib-index mail-index-sync-update.c, 1.75, 1.76

cras at dovecot.org cras at dovecot.org
Mon Dec 20 09:49:55 EET 2004


Update of /var/lib/cvs/dovecot/src/lib-index
In directory talvi:/tmp/cvs-serv25609

Modified Files:
	mail-index-sync-update.c 
Log Message:
still not right :)



Index: mail-index-sync-update.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-index/mail-index-sync-update.c,v
retrieving revision 1.75
retrieving revision 1.76
diff -u -d -r1.75 -r1.76
--- mail-index-sync-update.c	20 Dec 2004 07:49:04 -0000	1.75
+++ mail-index-sync-update.c	20 Dec 2004 07:49:52 -0000	1.76
@@ -112,7 +112,8 @@
 	    !ctx->expunge_handlers_set)
 		mail_index_sync_init_expunge_handlers(ctx);
 
-	if (ctx->type != MAIL_INDEX_SYNC_HANDLER_VIEW) {
+	if (ctx->type != MAIL_INDEX_SYNC_HANDLER_VIEW &&
+	    ctx->expunge_handlers != NULL) {
 		expunge_handlers =
 			buffer_get_modifyable_data(ctx->expunge_handlers,
 						   &expunge_handlers_count);



More information about the dovecot-cvs mailing list