about summary refs log tree commit diff
path: root/export.c
diff options
context:
space:
mode:
Diffstat (limited to 'export.c')
-rw-r--r--export.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/export.c b/export.c
index 5647086..644055c 100644
--- a/export.c
+++ b/export.c
@@ -170,7 +170,7 @@ bool exportData(FILE *imap, enum Atom tag, struct List items) {
 
 		if (section.ptr[0].type == Atom) {
 			name = section.ptr[0].atom;
-			if (name == AtomHeaderFields) {
+			if (name == AtomHeader) {
 				bodyHeader = data;
 			} else if (name == AtomText) {
 				bodyText = data;