dovecot-1.2: Improved "corrupted transaction log file" error mes...

dovecot at dovecot.org dovecot at dovecot.org
Tue Mar 10 04:27:41 EET 2009


details:   http://hg.dovecot.org/dovecot-1.2/rev/8081eb6b1c61
changeset: 8809:8081eb6b1c61
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Mar 09 22:27:36 2009 -0400
description:
Improved "corrupted transaction log file" error message.

diffstat:

1 file changed, 4 insertions(+), 2 deletions(-)
src/lib-index/mail-transaction-log-file.c |    6 ++++--

diffs (16 lines):

diff -r a05a7a73b475 -r 8081eb6b1c61 src/lib-index/mail-transaction-log-file.c
--- a/src/lib-index/mail-transaction-log-file.c	Mon Mar 09 21:52:42 2009 -0400
+++ b/src/lib-index/mail-transaction-log-file.c	Mon Mar 09 22:27:36 2009 -0400
@@ -37,8 +37,10 @@ mail_transaction_log_file_set_corrupted(
 	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);
 }


More information about the dovecot-cvs mailing list