From: Timo Sirainen Date: Tue, 10 Mar 2009 02:27:36 +0000 (-0400) Subject: Improved "corrupted transaction log file" error message. X-Git-Tag: 1.2.beta2~22 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8da27efaa133449b6aa70d64c8adbc59915520b8;p=thirdparty%2Fdovecot%2Fcore.git Improved "corrupted transaction log file" error message. --HG-- branch : HEAD --- diff --git a/src/lib-index/mail-transaction-log-file.c b/src/lib-index/mail-transaction-log-file.c index 316fae4262..e02363328f 100644 --- a/src/lib-index/mail-transaction-log-file.c +++ b/src/lib-index/mail-transaction-log-file.c @@ -37,8 +37,10 @@ mail_transaction_log_file_set_corrupted(struct mail_transaction_log_file *file, va_start(va, fmt); T_BEGIN { mail_index_set_error(file->log->index, - "Corrupted transaction log file %s: %s", - file->filepath, t_strdup_vprintf(fmt, va)); + "Corrupted transaction log file %s seq %u: %s " + "(sync_offset=%"PRIuUOFF_T")", + file->filepath, file->hdr.file_seq, + t_strdup_vprintf(fmt, va), file->sync_offset); } T_END; va_end(va); }