[dovecot-cvs] dovecot/src/lib-storage/index/dbox dbox-format.h, 1.2, 1.3 dbox-save.c, 1.14, 1.15

cras at dovecot.org cras at dovecot.org
Thu Jun 15 13:33:57 EEST 2006


Update of /var/lib/cvs/dovecot/src/lib-storage/index/dbox
In directory talvi:/tmp/cvs-serv23747

Modified Files:
	dbox-format.h dbox-save.c 
Log Message:
Added save_time field into dbox mails.



Index: dbox-format.h
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/dbox/dbox-format.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- dbox-format.h	30 May 2006 08:24:44 -0000	1.2
+++ dbox-format.h	15 Jun 2006 10:33:55 -0000	1.3
@@ -54,6 +54,7 @@
 	unsigned char uid_hex[8];
 	unsigned char mail_size_hex[16];
 	unsigned char received_time_hex[8];
+	unsigned char save_time_hex[8];
 	unsigned char answered;
 	unsigned char flagged;
 	unsigned char deleted;

Index: dbox-save.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/dbox/dbox-save.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- dbox-save.c	12 Jun 2006 08:24:44 -0000	1.14
+++ dbox-save.c	15 Jun 2006 10:33:55 -0000	1.15
@@ -169,6 +169,7 @@
 	memset(&hdr, '0', sizeof(hdr));
 	memcpy(hdr.magic, DBOX_MAIL_HEADER_MAGIC, sizeof(hdr.magic));
 	DEC2HEX(hdr.received_time_hex, received_date);
+	DEC2HEX(hdr.save_time_hex, ioloop_time);
 	hdr.answered = (flags & MAIL_ANSWERED) != 0 ? '1' : '0';
 	hdr.flagged = (flags & MAIL_FLAGGED) != 0 ? '1' : '0';
 	hdr.deleted = (flags & MAIL_DELETED) != 0 ? '1' : '0';



More information about the dovecot-cvs mailing list