[dovecot-cvs] dovecot/src/lib-storage/index/mbox mbox-sync-parse.c, 1.54, 1.55

tss at dovecot.org tss at dovecot.org
Mon Jan 22 12:10:22 UTC 2007


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

Modified Files:
	mbox-sync-parse.c 
Log Message:
If message had one invalid X-UID and another valid X-UID, we still marked
the valid one with uid_broken=TRUE.



Index: mbox-sync-parse.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/mbox/mbox-sync-parse.c,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -d -r1.54 -r1.55
--- mbox-sync-parse.c	10 Sep 2006 12:48:28 -0000	1.54
+++ mbox-sync-parse.c	22 Jan 2007 12:10:20 -0000	1.55
@@ -383,6 +383,9 @@
 
 	ctx->sync_ctx->prev_msg_uid = value;
 	ctx->mail.uid = value;
+	/* if we had multiple X-UID headers, we could have
+	   uid_broken=TRUE here. */
+	ctx->mail.uid_broken = FALSE;
 
 	if (ctx->sync_ctx->dest_first_mail && ctx->seq != 1) {
 		/* if we're expunging the first mail, delete this header since



More information about the dovecot-cvs mailing list