dovecot: Show log_file_tail_offset header updates more clearly.
dovecot at dovecot.org
dovecot at dovecot.org
Tue Dec 4 14:22:21 EET 2007
details: http://hg.dovecot.org/dovecot/rev/f90a4e265d00
changeset: 6926:f90a4e265d00
user: Timo Sirainen <tss at iki.fi>
date: Tue Dec 04 14:22:18 2007 +0200
description:
Show log_file_tail_offset header updates more clearly.
diffstat:
1 file changed, 7 insertions(+)
src/util/logview.c | 7 +++++++
diffs (17 lines):
diff -r d6dd3fce2817 -r f90a4e265d00 src/util/logview.c
--- a/src/util/logview.c Tue Dec 04 14:08:41 2007 +0200
+++ b/src/util/logview.c Tue Dec 04 14:22:18 2007 +0200
@@ -139,6 +139,13 @@ static void log_record_print(const struc
case MAIL_TRANSACTION_HEADER_UPDATE: {
const struct mail_transaction_header_update *u = data;
+ if (u->offset == offsetof(struct mail_index_header,
+ log_file_tail_offset) &&
+ u->size == sizeof(uint32_t)) {
+ printf(" - log_file_tail_offset = %u\n",
+ *(const uint32_t *)(u + 1));
+ break;
+ }
printf(" - offset = %u, size = %u: ", u->offset, u->size);
print_data(u + 1, u->size);
printf("\n");
More information about the dovecot-cvs
mailing list