summary refs log tree commit diff
path: root/archive.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-04-17 16:35:52 -0400
committerJune McEnroe <june@causal.agency>2020-04-17 16:35:52 -0400
commitf83e1927a6225699522918bbdf581c2b73efbe71 (patch)
treeca1b5f35842ddcdb44c7d86c77895bf4912e857f /archive.c
parentLabel atom and mbox links "follow" and "download" (diff)
downloadbubger-f83e1927a6225699522918bbdf581c2b73efbe71.tar.gz
bubger-f83e1927a6225699522918bbdf581c2b73efbe71.zip
Write attachment files
All this path stuff needs cleaning up. I think it's time to use the
template renderer for paths.
Diffstat (limited to '')
-rw-r--r--archive.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/archive.c b/archive.c
index 7edc6d6..64b234e 100644
--- a/archive.c
+++ b/archive.c
@@ -181,6 +181,7 @@ int main(int argc, char *argv[]) {
 					errx(EX_TEMPFAIL, "no messages matching %s", search);
 				}
 				createDir("UID");
+				createDir("attachment");
 				createDir("message");
 				createDir("thread");
 				threads = resp.data;