[dovecot-cvs] dovecot/src/lib-storage/index/dbox dbox-format.h,
1.1.2.2, 1.1.2.3 dbox-save.c, 1.10.2.3, 1.10.2.4
cras at dovecot.org
cras at dovecot.org
Thu Jun 15 13:33:38 EEST 2006
Update of /var/lib/cvs/dovecot/src/lib-storage/index/dbox
In directory talvi:/tmp/cvs-serv22066
Modified Files:
Tag: branch_1_0
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.1.2.2
retrieving revision 1.1.2.3
diff -u -d -r1.1.2.2 -r1.1.2.3
--- dbox-format.h 8 Jun 2006 21:13:44 -0000 1.1.2.2
+++ dbox-format.h 15 Jun 2006 10:33:36 -0000 1.1.2.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.10.2.3
retrieving revision 1.10.2.4
diff -u -d -r1.10.2.3 -r1.10.2.4
--- dbox-save.c 12 Jun 2006 08:24:03 -0000 1.10.2.3
+++ dbox-save.c 15 Jun 2006 10:33:36 -0000 1.10.2.4
@@ -167,6 +167,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