dovecot: Show extension header updates.

dovecot at dovecot.org dovecot at dovecot.org
Sun Jul 8 20:03:36 EEST 2007


details:   http://hg.dovecot.org/dovecot/rev/cb5e25c3b300
changeset: 5895:cb5e25c3b300
user:      Timo Sirainen <tss at iki.fi>
date:      Sun Jul 08 19:33:18 2007 +0300
description:
Show extension header updates.

diffstat:

1 file changed, 8 insertions(+), 2 deletions(-)
src/util/logview.c |   10 ++++++++--

diffs (20 lines):

diff -r 1b90285069f9 -r cb5e25c3b300 src/util/logview.c
--- a/src/util/logview.c	Thu Jul 05 18:16:27 2007 +0300
+++ b/src/util/logview.c	Sun Jul 08 19:33:18 2007 +0300
@@ -166,8 +166,14 @@ static void log_record_print(const struc
 		printf(" - new_reset_id = %u\n", reset->new_reset_id);
 		break;
 	}
-	case MAIL_TRANSACTION_EXT_HDR_UPDATE:
-		break;
+	case MAIL_TRANSACTION_EXT_HDR_UPDATE: {
+		const struct mail_transaction_ext_hdr_update *u = data;
+
+		printf(" - offset = %u, size = %u: ", u->offset, u->size);
+		print_data(u + 1, u->size);
+		printf("\n");
+		break;
+	}
 	case MAIL_TRANSACTION_EXT_REC_UPDATE: {
 		const struct mail_transaction_ext_rec_update *rec = data, *end;
 		size_t record_size;


More information about the dovecot-cvs mailing list