]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
Avoid parsing headers twice to get IMAP envelope.
authorTimo Sirainen <tss@iki.fi>
Sun, 18 Jul 2004 02:28:01 +0000 (05:28 +0300)
committerTimo Sirainen <tss@iki.fi>
Sun, 18 Jul 2004 02:28:01 +0000 (05:28 +0300)
--HG--
branch : HEAD

src/lib-storage/index/index-mail-headers.c

index 093011ed23eaa1525df74a7204c2b052c9fa8624..b0710cd6b2fdedb29d5a37918f34e6aa303cffcb 100644 (file)
@@ -331,6 +331,7 @@ void index_mail_headers_get_envelope(struct index_mail *mail)
        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);