[dovecot-cvs] dovecot/src/lib-storage/index index-mail-headers.c, 1.27, 1.28

cras at dovecot.org cras at dovecot.org
Sun Jul 18 05:28:03 EEST 2004


Update of /home/cvs/dovecot/src/lib-storage/index
In directory talvi:/tmp/cvs-serv3937

Modified Files:
	index-mail-headers.c 
Log Message:
Avoid parsing headers twice to get IMAP envelope.



Index: index-mail-headers.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib-storage/index/index-mail-headers.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -d -r1.27 -r1.28
--- index-mail-headers.c	18 Jul 2004 02:25:07 -0000	1.27
+++ index-mail-headers.c	18 Jul 2004 02:28:01 -0000	1.28
@@ -331,6 +331,7 @@
 	struct mailbox_header_lookup_ctx *header_ctx;
 	struct istream *stream;
 
+	mail->data.save_envelope = TRUE;
 	header_ctx = mailbox_header_lookup_init(&mail->ibox->box,
 						imap_envelope_headers);
 	stream = mail->mail.get_headers(&mail->mail, header_ctx);



More information about the dovecot-cvs mailing list