aboutsummaryrefslogtreecommitdiffstats
path: root/modules/prefer-plain/e-mail-parser-prefer-plain.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/prefer-plain/e-mail-parser-prefer-plain.c')
-rw-r--r--modules/prefer-plain/e-mail-parser-prefer-plain.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/prefer-plain/e-mail-parser-prefer-plain.c b/modules/prefer-plain/e-mail-parser-prefer-plain.c
index 6780172224..78faadcd63 100644
--- a/modules/prefer-plain/e-mail-parser-prefer-plain.c
+++ b/modules/prefer-plain/e-mail-parser-prefer-plain.c
@@ -277,12 +277,12 @@ empe_prefer_plain_parse (EMailParserExtension *extension,
/* Multiparts can represent a text/html with inline images or so */
if (camel_content_type_is (ct, "multipart", "*")) {
- sparts = e_mail_parser_parse_part (
- parser, sp, part_id, cancellable);
-
GSList *iter;
gboolean has_html = FALSE;
+ sparts = e_mail_parser_parse_part (
+ parser, sp, part_id, cancellable);
+
/* Check whether the multipart contains a text/html part */
for (iter = sparts; iter; iter = g_slist_next (iter)) {
EMailPart *p = iter->data;