Mercurial > dovecot > core-2.2
diff src/lib-storage/index/imapc/imapc-mail.c @ 21634:e2071511ef6d
lib-imap: imap-envelope: Moved imap_envelope_headers to lib-mail/message-part-data as message_part_envelope_headers.
author | Stephan Bosch <stephan.bosch@dovecot.fi> |
---|---|
date | Sun, 23 Oct 2016 22:29:49 +0200 |
parents | 2e2563132d5f |
children | 040667a0b3be |
line wrap: on
line diff
--- a/src/lib-storage/index/imapc/imapc-mail.c Sun Oct 23 20:05:33 2016 +0200 +++ b/src/lib-storage/index/imapc/imapc-mail.c Sun Oct 23 22:29:49 2016 +0200 @@ -5,6 +5,7 @@ #include "hex-binary.h" #include "sha1.h" #include "istream.h" +#include "message-part-data.h" #include "imap-envelope.h" #include "imapc-msgmap.h" #include "imapc-mail.h" @@ -382,7 +383,7 @@ /* the common code already checked this partially, but we need a guaranteed correct answer */ header_ctx = mailbox_header_lookup_init(_mail->box, - imap_envelope_headers); + message_part_envelope_headers); if (!imapc_mail_has_headers_in_cache(mail, header_ctx)) data->access_part |= PARSE_HDR; mailbox_header_lookup_unref(&header_ctx);