diff options
author | June McEnroe <june@causal.agency> | 2020-04-26 20:14:15 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-04-26 20:14:15 -0400 |
commit | 99b6908162b73143e0fb4d0babca80dbea48e304 (patch) | |
tree | e0e05e1780f4c2d8f2992e972a7ca3d2bcdab5f7 /html.c | |
parent | Iterate through nested multiparts to find content for Atom (diff) | |
download | bubger-99b6908162b73143e0fb4d0babca80dbea48e304.tar.gz bubger-99b6908162b73143e0fb4d0babca80dbea48e304.zip |
Rename part->id to part->contentID
Disambiguate with messageID.
Diffstat (limited to '')
-rw-r--r-- | html.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |