aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authoronefang2021-08-25 18:49:35 +1000
committeronefang2021-08-25 18:49:35 +1000
commit1900570fa3b95ed251f597cd2373bca27d95a74e (patch)
tree9df208aee0b0040a0330186f4acaacbdd38c47d7
parentmemset be gone. (diff)
downloadopensim-SC-1900570fa3b95ed251f597cd2373bca27d95a74e.zip
opensim-SC-1900570fa3b95ed251f597cd2373bca27d95a74e.tar.gz
opensim-SC-1900570fa3b95ed251f597cd2373bca27d95a74e.tar.bz2
opensim-SC-1900570fa3b95ed251f597cd2373bca27d95a74e.tar.xz
Minor clean up.
-rw-r--r--src/sledjchisl/sledjchisl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sledjchisl/sledjchisl.c b/src/sledjchisl/sledjchisl.c
index 2f0747b..2a45c19 100644
--- a/src/sledjchisl/sledjchisl.c
+++ b/src/sledjchisl/sledjchisl.c
@@ -8360,7 +8360,6 @@ Build the OpenSim.
8360// mimeTypes->putstr(mimeTypes, "markdown", "text/markdown"); 8360// mimeTypes->putstr(mimeTypes, "markdown", "text/markdown");
8361 mimeTypes->putstr(mimeTypes, "txt", "text/plain"); 8361 mimeTypes->putstr(mimeTypes, "txt", "text/plain");
8362 8362
8363 snprintf(toybuf, sizeof(toybuf), "%s/config/config.ini", scRoot);
8364 8363
8365//////////////////////////////////////////////////////////////////////////////////////////////////// 8364////////////////////////////////////////////////////////////////////////////////////////////////////
8366// Connect to database. 8365// Connect to database.
@@ -8369,6 +8368,7 @@ Build the OpenSim.
8369// I doubt qLibc supports it, like it supports what seems to be the standard include system. 8368// I doubt qLibc supports it, like it supports what seems to be the standard include system.
8370// Not sure if we need to worry about it just yet. 8369// Not sure if we need to worry about it just yet.
8371// TODO - this leaks memory, but it's a bug in qLibc. Send the bug fix upstream. 8370// TODO - this leaks memory, but it's a bug in qLibc. Send the bug fix upstream.
8371 snprintf(toybuf, sizeof(toybuf), "%s/config/config.ini", scRoot);
8372 qlisttbl_t *qconfig = qconfig_parse_file(NULL, toybuf, '='); 8372 qlisttbl_t *qconfig = qconfig_parse_file(NULL, toybuf, '=');
8373 if (NULL == qconfig) 8373 if (NULL == qconfig)
8374 { 8374 {