diff options
Diffstat (limited to '')
-rw-r--r-- | src/sledjchisl.c | 5 |
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) |