about summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--export.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/export.c b/export.c
index f060c0b..d195104 100644
--- a/export.c
+++ b/export.c
@@ -231,17 +231,9 @@ static int exportHTMLBody(
 				&part->parts.ptr[i], dataCheck(body, List).list.ptr[i]
 			);
 		}
-		struct Data num = { .type = Number, .number = part->parts.len };
-		listPush(section, num);
-		int error = exportHTMLBody(
-			file, envelope, section,
-			&part->parts.ptr[part->parts.len - 1],
-			dataCheck(body, List).list.ptr[part->parts.len - 1]
-		);
-		section->len--;
-		return error;
+	}
 
-	} else if (part->multipart) {
+	if (part->multipart) {
 		int error;
 		bool attached = false;
 		for (size_t i = 0; i < part->parts.len; ++i) {