diff options
author | June McEnroe <june@causal.agency> | 2020-04-10 12:08:38 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-04-10 12:25:13 -0400 |
commit | fb50536f7e9f3a3ee8653c3503b0fbb64770adec (patch) | |
tree | 5e171f75855a601e51648373a0f6708413337ad6 /export.c | |
parent | Only write UIDNEXT when finished (diff) | |
download | bubger-fb50536f7e9f3a3ee8653c3503b0fbb64770adec.tar.gz bubger-fb50536f7e9f3a3ee8653c3503b0fbb64770adec.zip |
Rename exportThreads to exportFetch
Diffstat (limited to 'export.c')
-rw-r--r-- | export.c | 4 |
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); |