dovecot: Print maildir nsecs fields as integers, not as timestamps.

dovecot at dovecot.org dovecot at dovecot.org
Thu Nov 29 07:23:53 EET 2007


details:   http://hg.dovecot.org/dovecot/rev/a9e4221d5c0b
changeset: 6875:a9e4221d5c0b
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Nov 29 07:21:58 2007 +0200
description:
Print maildir nsecs fields as integers, not as timestamps.

diffstat:

1 file changed, 2 insertions(+), 2 deletions(-)
src/util/idxview.c |    4 ++--

diffs (16 lines):

diff -r 1d0521b7151d -r a9e4221d5c0b src/util/idxview.c
--- a/src/util/idxview.c	Wed Nov 28 16:45:25 2007 +0200
+++ b/src/util/idxview.c	Thu Nov 29 07:21:58 2007 +0200
@@ -80,10 +80,10 @@ static void dump_extension_header(struct
 		printf("header\n");
 		printf(" - new_check_time  = %s\n", unixdate2str(hdr->new_check_time));
 		printf(" - new_mtime ..... = %s\n", unixdate2str(hdr->new_mtime));
-		printf(" - new_mtime_nsecs = %s\n", unixdate2str(hdr->new_mtime_nsecs));
+		printf(" - new_mtime_nsecs = %u\n", hdr->new_mtime_nsecs);
 		printf(" - cur_check_time  = %s\n", unixdate2str(hdr->cur_check_time));
 		printf(" - cur_mtime ..... = %s\n", unixdate2str(hdr->cur_mtime));
-		printf(" - cur_mtime_nsecs = %s\n", unixdate2str(hdr->cur_mtime_nsecs));
+		printf(" - cur_mtime_nsecs = %u\n", hdr->cur_mtime_nsecs);
 	} else if (strcmp(ext->name, "dbox-hdr") == 0) {
 		const struct dbox_index_header *hdr = data;
 


More information about the dovecot-cvs mailing list