[dovecot-cvs] dovecot/src/lib-storage/index/mbox mbox-sync.c, 1.62, 1.63

cras at dovecot.org cras at dovecot.org
Fri Jul 30 12:17:09 EEST 2004


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

Modified Files:
	mbox-sync.c 
Log Message:
read-only mbox fix



Index: mbox-sync.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib-storage/index/mbox/mbox-sync.c,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -d -r1.62 -r1.63
--- mbox-sync.c	30 Jul 2004 08:30:16 -0000	1.62
+++ mbox-sync.c	30 Jul 2004 09:17:06 -0000	1.63
@@ -735,9 +735,8 @@
 				uid = 0;
 		}
 
-		if (uid == 0 && sync_ctx->ibox->mbox_readonly &&
-		    !mail_ctx->pseudo) {
-			/* Use MD5 sums */
+		if (sync_ctx->ibox->mbox_readonly && !mail_ctx->pseudo) {
+			/* Read-only mboxes use MD5 sums. */
 			if (sync_ctx->ibox->md5hdr_extra_idx == 0) {
 				sync_ctx->ibox->md5hdr_extra_idx =
 					mail_index_register_record_extra(



More information about the dovecot-cvs mailing list