aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/sledjchisl.c
diff options
context:
space:
mode:
authoronefang2020-02-27 17:07:48 +1000
committeronefang2020-02-27 17:07:48 +1000
commit2f66c46e7ce18d60cd1f565880fb7762b3399ccb (patch)
treee7d043c5297a81d8d4b6f91dd3e63ee7528cfa95 /src/sledjchisl.c
parentThe new sledjchisl binary, to replace the management scripts and web stuff. (diff)
downloadopensim-SC_OLD-2f66c46e7ce18d60cd1f565880fb7762b3399ccb.zip
opensim-SC_OLD-2f66c46e7ce18d60cd1f565880fb7762b3399ccb.tar.gz
opensim-SC_OLD-2f66c46e7ce18d60cd1f565880fb7762b3399ccb.tar.bz2
opensim-SC_OLD-2f66c46e7ce18d60cd1f565880fb7762b3399ccb.tar.xz
Bitch if we can't read the OpenSim config file.
Diffstat (limited to '')
-rw-r--r--src/sledjchisl.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/sledjchisl.c b/src/sledjchisl.c
index df24ad7..dd386f0 100644
--- a/src/sledjchisl.c
+++ b/src/sledjchisl.c
@@ -882,6 +882,11 @@ jit library is loaded or the JIT compiler will not be activated.
882 snprintf(toybuf, sizeof(toybuf), "%s/config/config.ini", scRoot); 882 snprintf(toybuf, sizeof(toybuf), "%s/config/config.ini", scRoot);
883 883
884 qlisttbl_t *qconfig = qconfig_parse_file(NULL, toybuf, '='); 884 qlisttbl_t *qconfig = qconfig_parse_file(NULL, toybuf, '=');
885 if (NULL == qconfig)
886 {
887 E("Can't read config file %s", toybuf);
888 goto finished;
889 }
885 d = qstrunchar(qconfig->getstr(qconfig, "Const.ConnectionString", false), '"', '"'); 890 d = qstrunchar(qconfig->getstr(qconfig, "Const.ConnectionString", false), '"', '"');
886 891
887 if (NULL == d) 892 if (NULL == d)