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

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


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

Modified Files:
      Tag: branch_1_0
	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.49.2.2
retrieving revision 1.49.2.3
diff -u -d -r1.49.2.2 -r1.49.2.3
--- mbox-sync-parse.c	17 Jun 2006 17:11:29 -0000	1.49.2.2
+++ mbox-sync-parse.c	22 Jan 2007 12:10:18 -0000	1.49.2.3
@@ -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