diff options
author | default <nobody@localhost> | 2023-01-31 18:38:56 +0100 |
---|---|---|
committer | default <nobody@localhost> | 2023-01-31 18:38:56 +0100 |
commit | ba4df29abd2e08d168edff95fff5067c6e3e747f (patch) | |
tree | ec056475a7fbfed061548126c6d291fda6d55153 /utils.c | |
parent | 74d30a561c231eeef91fc7fee6ef728eef61aa29 (diff) |
More symbol renaming.
Diffstat (limited to 'utils.c')
-rw-r--r-- | utils.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -79,7 +79,7 @@ const char *greeting_html = "<p>This site is powered by <abbr title=\"Social Networks Are Crap\">snac</abbr>.</p>\n" "</body></html>\n"; -int initdb(const char *basedir) +int snac_init(const char *basedir) { FILE *f; @@ -154,6 +154,9 @@ int initdb(const char *basedir) xs *odir = xs_fmt("%s/object", srv_basedir); mkdir(odir, 0755); + xs *qdir = xs_fmt("%s/queue", srv_basedir); + mkdir(qdir, 0755); + xs *gfn = xs_fmt("%s/greeting.html", srv_basedir); if ((f = fopen(gfn, "w")) == NULL) { printf("ERROR: cannot create '%s'\n", gfn); |