dovecot-2.0: lib-index: Minor error message improvement.

dovecot at dovecot.org dovecot at dovecot.org
Thu Nov 4 19:55:52 EET 2010


details:   http://hg.dovecot.org/dovecot-2.0/rev/16abe905f897
changeset: 12389:16abe905f897
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Nov 04 17:55:47 2010 +0000
description:
lib-index: Minor error message improvement.

diffstat:

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

diffs (13 lines):

diff -r 952dc335eb75 -r 16abe905f897 src/lib-index/mail-transaction-log-file.c
--- a/src/lib-index/mail-transaction-log-file.c	Thu Nov 04 17:50:42 2010 +0000
+++ b/src/lib-index/mail-transaction-log-file.c	Thu Nov 04 17:55:47 2010 +0000
@@ -1505,7 +1505,8 @@
 
 	if ((uoff_t)st.st_size < file->sync_offset) {
 		mail_transaction_log_file_set_corrupted(file,
-							"file size shrank");
+			"file size shrank (%"PRIuUOFF_T" < %"PRIuUOFF_T")",
+			(uoff_t)st.st_size, file->sync_offset);
 		return 0;
 	}
 


More information about the dovecot-cvs mailing list