diff options
Diffstat (limited to 'export.c')
-rw-r--r-- | export.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/export.c b/export.c index 644055c..3e1b2dc 100644 --- a/export.c +++ b/export.c @@ -178,7 +178,6 @@ bool exportData(FILE *imap, enum Atom tag, struct List items) { continue; } - data = dataTake(&items.ptr[i + 1]); struct Data *dest = &bodyParts; for (size_t i = 0; i < section.len; ++i) { if (section.ptr[i].type != Number) continue; @@ -190,8 +189,8 @@ bool exportData(FILE *imap, enum Atom tag, struct List items) { listPush(&dest->list, (struct Data) {0}); } dest = &dest->list.ptr[num - 1]; - *dest = data; } + *dest = dataTake(&items.ptr[i + 1]); } if (!uid) { |