[dovecot-cvs] dovecot/src/lib-storage/index/maildir maildir-sync.c, 1.24, 1.25

cras at procontrol.fi cras at procontrol.fi
Wed May 26 05:56:36 EEST 2004


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

Modified Files:
	maildir-sync.c 
Log Message:
Path was missing from Maildir sync-errors.



Index: maildir-sync.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib-storage/index/maildir/maildir-sync.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- a/maildir-sync.c	25 May 2004 23:16:11 -0000	1.24
+++ b/maildir-sync.c	26 May 2004 02:56:34 -0000	1.25
@@ -613,8 +613,8 @@
 		/* uidvalidity changed and mailbox isn't being initialized,
 		   index must be rebuilt */
 		mail_storage_set_critical(ibox->box.storage,
-			"Maildir sync: UIDVALIDITY changed (%u -> %u)",
-			hdr->uid_validity, uid_validity);
+			"Maildir %s sync: UIDVALIDITY changed (%u -> %u)",
+			ibox->path, hdr->uid_validity, uid_validity);
 		mail_index_mark_corrupted(ibox->index);
 		(void)mail_index_sync_end(sync_ctx.sync_ctx);
 		return -1;
@@ -657,9 +657,11 @@
 				     MAILDIR_UIDLIST_REC_FLAG_RACING) != 0) {
 					mail_storage_set_critical(
 						ibox->box.storage,
-						"Maildir sync: UID < next_uid "
+						"Maildir %s sync: "
+						"UID < next_uid "
 						"(%u < %u, file = %s)",
-						uid, hdr->next_uid, filename);
+						ibox->path, uid, hdr->next_uid,
+						filename);
 					mail_index_mark_corrupted(ibox->index);
 					ret = -1;
 					break;
@@ -698,10 +700,10 @@
 			   in next sync. */
 			if ((uflags & MAILDIR_UIDLIST_REC_FLAG_RACING) != 0) {
 				mail_storage_set_critical(ibox->box.storage,
-					"Maildir sync: UID inserted in the "
+					"Maildir %s sync: UID inserted in the "
 					"middle of mailbox "
 					"(%u > %u, file = %s)",
-					rec->uid, uid, filename);
+					ibox->path, rec->uid, uid, filename);
 				mail_index_mark_corrupted(ibox->index);
 				ret = -1;
 				break;



More information about the dovecot-cvs mailing list