about summary refs log tree commit diff
path: root/export.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-04-10 12:08:38 -0400
committerJune McEnroe <june@causal.agency>2020-04-10 12:25:13 -0400
commitfb50536f7e9f3a3ee8653c3503b0fbb64770adec (patch)
tree5e171f75855a601e51648373a0f6708413337ad6 /export.c
parentOnly write UIDNEXT when finished (diff)
downloadbubger-fb50536f7e9f3a3ee8653c3503b0fbb64770adec.tar.gz
bubger-fb50536f7e9f3a3ee8653c3503b0fbb64770adec.zip
Rename exportThreads to exportFetch
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);