diff options
Diffstat (limited to 'mail/em-format.c')
-rw-r--r-- | mail/em-format.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/em-format.c b/mail/em-format.c index 965eea48d5..7467896dac 100644 --- a/mail/em-format.c +++ b/mail/em-format.c @@ -1219,7 +1219,8 @@ emf_multipart_alternative(EMFormat *emf, CamelStream *stream, CamelMimePart *par /* as per rfc, find the last part we know how to display */ nparts = camel_multipart_get_number(mp); for (i = 0; i < nparts; i++) { - CamelMimePart *part = camel_multipart_get_part(mp, i); + /* is it correct to use the passed in *part here? */ + part = camel_multipart_get_part(mp, i); CamelContentType *type = camel_mime_part_get_content_type (part); char *mime_type = camel_content_type_simple (type); |