summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--export.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/export.c b/export.c
index c808ba8..9e40870 100644
--- a/export.c
+++ b/export.c
@@ -129,6 +129,7 @@ static void exportAtom(
 				body = dataCheck(body, List).list.ptr[i];
 				break;
 			}
+			if (part->multipart) break;
 		} else {
 			part = &part->parts.ptr[0];
 			body = dataCheck(body, List).list.ptr[0];