diff options
Diffstat (limited to 'data.c')
| -rw-r--r-- | data.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -48,7 +48,7 @@ int srv_open(const char *basedir, int auto_upgrade) | |||
| 48 | cfg_file = xs_fmt("%s/server.json", basedir); | 48 | cfg_file = xs_fmt("%s/server.json", basedir); |
| 49 | 49 | ||
| 50 | if ((f = fopen(cfg_file, "r")) == NULL) | 50 | if ((f = fopen(cfg_file, "r")) == NULL) |
| 51 | error = xs_fmt("ERROR: cannot opening '%s'", cfg_file); | 51 | error = xs_fmt("ERROR: cannot open '%s'", cfg_file); |
| 52 | else { | 52 | else { |
| 53 | /* read full config file */ | 53 | /* read full config file */ |
| 54 | srv_config = xs_json_load(f); | 54 | srv_config = xs_json_load(f); |