summaryrefslogtreecommitdiff
path: root/utils.c
diff options
context:
space:
mode:
authorGravatar default2022-12-04 07:19:45 +0100
committerGravatar default2022-12-04 07:19:45 +0100
commitfd2b1509a8d26d795c32e33917497a1e43bc03a8 (patch)
treea1b4735fdef59b9f79b8b8f786a768121dc3f196 /utils.c
parentUpdated documentation. (diff)
downloadsnac2-fd2b1509a8d26d795c32e33917497a1e43bc03a8.tar.gz
snac2-fd2b1509a8d26d795c32e33917497a1e43bc03a8.tar.xz
snac2-fd2b1509a8d26d795c32e33917497a1e43bc03a8.zip
Don't create obsolete directories in adduser().
Diffstat (limited to 'utils.c')
-rw-r--r--utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils.c b/utils.c
index 5923a38..f3e6561 100644
--- a/utils.c
+++ b/utils.c
@@ -237,9 +237,9 @@ int adduser(char *uid)
237 } 237 }
238 238
239 const char *dirs[] = { 239 const char *dirs[] = {
240 "followers", "following", "local", "muted", "hidden", 240 "followers", "following", "muted", "hidden",
241 "public", "private", "queue", "history", 241 "public", "private", "queue", "history",
242 "static", "timeline", NULL }; 242 "static", NULL };
243 int n; 243 int n;
244 244
245 for (n = 0; dirs[n]; n++) { 245 for (n = 0; dirs[n]; n++) {