From 99b6908162b73143e0fb4d0babca80dbea48e304 Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Sun, 26 Apr 2020 20:14:15 -0400 Subject: Rename part->id to part->contentID Disambiguate with messageID. --- html.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'html.c') diff --git a/html.c b/html.c index a8c344e..ff08357 100644 --- a/html.c +++ b/html.c @@ -175,10 +175,10 @@ int htmlMessageOpen(FILE *file, const struct Envelope *envelope) { static int htmlInlineAttrs(FILE *file, const struct BodyPart *part) { const char *template = " [attr]=\"[value]\""; - if (part->id) { + if (part->contentID) { struct Variable vars[] = { { "attr", "id" }, - { "value", part->id }, + { "value", part->contentID }, {0}, }; int error = templateRender(file, template, vars, escapeXML); -- cgit 1.4.1