From e50279c95709ed9e8ff08f464e334bd0be45f02e Mon Sep 17 00:00:00 2001 From: Lucian Langa Date: Mon, 25 Jun 2012 13:16:53 +0200 Subject: Bug 678667 - 'All Message Headers' option is broken --- em-format/e-mail-formatter-headers.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'em-format') diff --git a/em-format/e-mail-formatter-headers.c b/em-format/e-mail-formatter-headers.c index 0b9c25a4c6..c64682854b 100644 --- a/em-format/e-mail-formatter-headers.c +++ b/em-format/e-mail-formatter-headers.c @@ -240,6 +240,7 @@ static void format_full_headers (EMailFormatter *formatter, GString *buffer, CamelMedium *part, + guint32 mode, guint32 flags, GCancellable *cancellable) { @@ -354,7 +355,7 @@ format_full_headers (EMailFormatter *formatter, g_free (evolution_imagesdir); /* dump selected headers */ - if (flags & E_MAIL_FORMATTER_MODE_ALL_HEADERS) { + if (mode & E_MAIL_FORMATTER_MODE_ALL_HEADERS) { header = ((CamelMimePart *) part)->headers; while (header) { e_mail_formatter_format_header ( @@ -555,7 +556,7 @@ emfe_headers_format (EMailFormatterExtension *extension, } format_full_headers (formatter, buffer, - (CamelMedium *) part->part, context->flags, cancellable); + (CamelMedium *) part->part, context->mode, context->flags, cancellable); g_string_append (buffer, ""); -- cgit