dovecot-2.0: Message body search: Skip MIME boundaries and multi...
dovecot at dovecot.org
dovecot at dovecot.org
Thu Jun 4 23:27:35 EEST 2009
details: http://hg.dovecot.org/dovecot-2.0/rev/227a64839587
changeset: 9450:227a64839587
user: Timo Sirainen <tss at iki.fi>
date: Thu Jun 04 16:27:24 2009 -0400
description:
Message body search: Skip MIME boundaries and multipart footer.
diffstat:
1 file changed, 5 insertions(+)
src/lib-mail/message-search.c | 5 +++++
diffs (15 lines):
diff -r 653bfe9ad192 -r 227a64839587 src/lib-mail/message-search.c
--- a/src/lib-mail/message-search.c Thu Jun 04 15:45:23 2009 -0400
+++ b/src/lib-mail/message-search.c Thu Jun 04 16:27:24 2009 -0400
@@ -148,6 +148,11 @@ bool message_search_more(struct message_
content type */
message_search_reset(ctx);
ctx->prev_part = raw_block->part;
+
+ if (hdr == NULL) {
+ /* we're returning to a multipart message. */
+ ctx->content_type_text = FALSE;
+ }
}
if (hdr != NULL) {
More information about the dovecot-cvs
mailing list