mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-12 21:10:22 +03:00
Fixed typo.
This commit is contained in:
parent
cd8ff6a75b
commit
e6483368d0
2
data.c
2
data.c
@ -48,7 +48,7 @@ int srv_open(const char *basedir, int auto_upgrade)
|
|||||||
cfg_file = xs_fmt("%s/server.json", basedir);
|
cfg_file = xs_fmt("%s/server.json", basedir);
|
||||||
|
|
||||||
if ((f = fopen(cfg_file, "r")) == NULL)
|
if ((f = fopen(cfg_file, "r")) == NULL)
|
||||||
error = xs_fmt("ERROR: cannot opening '%s'", cfg_file);
|
error = xs_fmt("ERROR: cannot open '%s'", cfg_file);
|
||||||
else {
|
else {
|
||||||
/* read full config file */
|
/* read full config file */
|
||||||
srv_config = xs_json_load(f);
|
srv_config = xs_json_load(f);
|
||||||
|
Loading…
Reference in New Issue
Block a user