summary refs log tree commit diff
path: root/export.c
diff options
context:
space:
mode:
Diffstat (limited to 'export.c')
-rw-r--r--export.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/export.c b/export.c
index b1f63b8..2ff6c5d 100644
--- a/export.c
+++ b/export.c
@@ -50,7 +50,7 @@ static void flatten(struct List *flat, struct List nested) {
 	}
 }
 
-enum Atom exportThreads(FILE *imap, struct List threads) {
+enum Atom exportFetch(FILE *imap, struct List threads) {
 	struct List uids = {0};
 	flatten(&uids, threads);
 	for (size_t i = uids.len - 1; i < uids.len; --i) {
@@ -69,7 +69,7 @@ enum Atom exportThreads(FILE *imap, struct List threads) {
 	enum Atom tag = 0;
 	if (!uids.len) goto done;
 
-	tag = atom("exportThreads");
+	tag = atom("exportFetch");
 	fprintf(imap, "%s UID FETCH ", Atoms[tag]);
 	for (size_t i = 0; i < uids.len; ++i) {
 		fprintf(imap, "%s%" PRIu32, (i ? "," : ""), uids.ptr[i].number);