aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/em-format-html.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/em-format-html.c b/mail/em-format-html.c
index 15c3e5e2df..780a02a17a 100644
--- a/mail/em-format-html.c
+++ b/mail/em-format-html.c
@@ -2135,7 +2135,7 @@ emfh_multipart_related_check (struct _EMFormatHTMLJob *job,
return;
}
- while (link->next != NULL) {
+ while (link != NULL) {
EMFormatPURI *puri = link->data;
if (puri->use_count == 0) {