mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-14 17:45:04 +00:00
Don't create obsolete directories in adduser().
This commit is contained in:
parent
30e3f2fc3d
commit
fd2b1509a8
1 changed files with 2 additions and 2 deletions
4
utils.c
4
utils.c
|
@ -237,9 +237,9 @@ int adduser(char *uid)
|
||||||
}
|
}
|
||||||
|
|
||||||
const char *dirs[] = {
|
const char *dirs[] = {
|
||||||
"followers", "following", "local", "muted", "hidden",
|
"followers", "following", "muted", "hidden",
|
||||||
"public", "private", "queue", "history",
|
"public", "private", "queue", "history",
|
||||||
"static", "timeline", NULL };
|
"static", NULL };
|
||||||
int n;
|
int n;
|
||||||
|
|
||||||
for (n = 0; dirs[n]; n++) {
|
for (n = 0; dirs[n]; n++) {
|
||||||
|
|
Loading…
Reference in a new issue