dovecot-1.1: maildir uidlist: Include old and new UID in "Duplic...
dovecot at dovecot.org
dovecot at dovecot.org
Sat May 17 02:25:44 EEST 2008
details: http://hg.dovecot.org/dovecot-1.1/rev/6ab2ccae0868
changeset: 7529:6ab2ccae0868
user: Timo Sirainen <tss at iki.fi>
date: Sat May 17 02:25:40 2008 +0300
description:
maildir uidlist: Include old and new UID in "Duplicate file entry" warning.
diffstat:
1 file changed, 4 insertions(+), 2 deletions(-)
src/lib-storage/index/maildir/maildir-uidlist.c | 6 ++++--
diffs (16 lines):
diff -r 4a0e2927a232 -r 6ab2ccae0868 src/lib-storage/index/maildir/maildir-uidlist.c
--- a/src/lib-storage/index/maildir/maildir-uidlist.c Sat May 17 01:20:19 2008 +0300
+++ b/src/lib-storage/index/maildir/maildir-uidlist.c Sat May 17 02:25:40 2008 +0300
@@ -434,8 +434,10 @@ static int maildir_uidlist_next(struct m
if (old_rec != NULL) {
/* This can happen if expunged file is moved back and the file
was appended to uidlist. */
- i_warning("%s: Duplicate file entry at line %u: %s",
- uidlist->path, uidlist->read_line_count, line);
+ i_warning("%s: Duplicate file entry at line %u: "
+ "%s (uid %u -> %u)",
+ uidlist->path, uidlist->read_line_count, line,
+ old_rec->uid, uid);
/* Delete the old UID */
maildir_uidlist_records_array_delete(uidlist, old_rec);
/* Replace the old record with this new one */
More information about the dovecot-cvs
mailing list