[dovecot-cvs] dovecot/src/lib-storage/index/mbox mbox-sync.c, 1.106, 1.107

cras at dovecot.org cras at dovecot.org
Thu Oct 14 22:42:06 EEST 2004


Update of /var/lib/cvs/dovecot/src/lib-storage/index/mbox
In directory talvi:/tmp/cvs-serv12930/lib-storage/index/mbox

Modified Files:
	mbox-sync.c 
Log Message:
expunge fix



Index: mbox-sync.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/mbox/mbox-sync.c,v
retrieving revision 1.106
retrieving revision 1.107
diff -u -d -r1.106 -r1.107
--- mbox-sync.c	14 Oct 2004 17:56:39 -0000	1.106
+++ mbox-sync.c	14 Oct 2004 19:42:04 -0000	1.107
@@ -506,7 +506,7 @@
 		mail_ctx->mail.body_size;
 	mail_ctx->mail.body_size = 0;
 
-	if (mail_ctx->sync_ctx->dest_first_mail) {
+	if (mail_ctx->sync_ctx->seq == 1) {
 		/* expunging first message, fix space to contain next
 		   message's \n header too since it will be removed. */
 		mail_ctx->mail.space++;



More information about the dovecot-cvs mailing list