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

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


details:   http://hg.dovecot.org/dovecot-1.1/rev/fe4c7fb3c9f9
changeset: 8188:fe4c7fb3c9f9
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Mar 09 22:27:19 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 dd87447492ec -r fe4c7fb3c9f9 src/lib-index/mail-transaction-log-file.c
--- a/src/lib-index/mail-transaction-log-file.c	Mon Mar 09 21:01:09 2009 -0400
+++ b/src/lib-index/mail-transaction-log-file.c	Mon Mar 09 22:27:19 2009 -0400
@@ -36,8 +36,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