summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--export.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/export.c b/export.c
index 799bd7c..7a04358 100644
--- a/export.c
+++ b/export.c
@@ -228,7 +228,11 @@ static int exportHTMLBody(
 			if (error) return error;
 			section->len--;
 		}
-		return 0;
+		if (attached) {
+			return htmlAttachmentClose(file);
+		} else {
+			return 0;
+		}
 
 	} else if (part->message.structure) {
 		const struct BodyPart *structure = part->message.structure;
/td>Don't write null terminator in stylesheet responseJune McEnroe 2020-07-16Remove sudo from make installJune McEnroed colspan='3' class='logmsg'> 2024-06-10Resize using target pixel counts for consistencyJune McEnroe This will resize film scans to about the same size as for the digital photos. 2024-06-10Add The Girl Who Was Convinced...June McEnroe Not much there. The illustrations are very nice though. 2024-06-09Add photos from May 31June McEnroe 2024-06-09Use monospace on photo pagesJune McEnroe 2024-06-09Put lens and (future) film at the tops of photo pagesJune McEnroe 2024-05-22Remove use of sysexits.hJune McEnroe 2024-05-22Add photo descriptions from 05-03 and 05-06June McEnroe 2024-05-21Fix = precedence in whenJune McEnroe