aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/sledjchisl
diff options
context:
space:
mode:
authoronefang2020-03-17 12:41:47 +1000
committeronefang2020-03-17 12:41:47 +1000
commit7c11a87766b08b7d3b3856225e54277dfe51f8d4 (patch)
tree0e9a006e15c22135c814e5d9b9a4d7f03a4b3da2 /src/sledjchisl
parentTODO++ (diff)
downloadopensim-SC-7c11a87766b08b7d3b3856225e54277dfe51f8d4.zip
opensim-SC-7c11a87766b08b7d3b3856225e54277dfe51f8d4.tar.gz
opensim-SC-7c11a87766b08b7d3b3856225e54277dfe51f8d4.tar.bz2
opensim-SC-7c11a87766b08b7d3b3856225e54277dfe51f8d4.tar.xz
Add a ToS block.
Diffstat (limited to 'src/sledjchisl')
-rw-r--r--src/sledjchisl/sledjchisl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sledjchisl/sledjchisl.c b/src/sledjchisl/sledjchisl.c
index 6ec3b98..a895c51 100644
--- a/src/sledjchisl/sledjchisl.c
+++ b/src/sledjchisl/sledjchisl.c
@@ -462,6 +462,7 @@ char *Ttab = "SC";
462char *Tcmd = "tmux -S"; 462char *Tcmd = "tmux -S";
463char *webRoot = "/opt/opensim_SC/web"; 463char *webRoot = "/opt/opensim_SC/web";
464char *URL = "fcgi-bin/sledjchisl.fcgi"; 464char *URL = "fcgi-bin/sledjchisl.fcgi";
465char *ToS = "Be good.";
465int seshTimeOut = 30 * 60; 466int seshTimeOut = 30 * 60;
466int idleTimeOut = 24 * 60 * 60; 467int idleTimeOut = 24 * 60 * 60;
467int newbieTimeOut = 30; 468int newbieTimeOut = 30;
@@ -4454,6 +4455,7 @@ jit library is loaded or the JIT compiler will not be activated.
4454 if ((vd = configs->get (configs, "seshTimeOut", NULL, false)) != NULL) {seshTimeOut = (int) *((float *) vd); D("Setting seshTimeOut = %d", seshTimeOut);} 4455 if ((vd = configs->get (configs, "seshTimeOut", NULL, false)) != NULL) {seshTimeOut = (int) *((float *) vd); D("Setting seshTimeOut = %d", seshTimeOut);}
4455 if ((vd = configs->get (configs, "idleTimeOut", NULL, false)) != NULL) {idleTimeOut = (int) *((float *) vd); D("Setting idleTimeOut = %d", idleTimeOut);} 4456 if ((vd = configs->get (configs, "idleTimeOut", NULL, false)) != NULL) {idleTimeOut = (int) *((float *) vd); D("Setting idleTimeOut = %d", idleTimeOut);}
4456 if ((vd = configs->get (configs, "newbieTimeOut", NULL, false)) != NULL) {newbieTimeOut = (int) *((float *) vd); D("Setting newbieTimeOut = %d", newbieTimeOut);} 4457 if ((vd = configs->get (configs, "newbieTimeOut", NULL, false)) != NULL) {newbieTimeOut = (int) *((float *) vd); D("Setting newbieTimeOut = %d", newbieTimeOut);}
4458 if ((tmp = configs->getstr(configs, "ToS", false)) != NULL) {ToS = tmp; D("Setting ToS = %s", ToS);}
4457 4459
4458 4460
4459 if (isTmux || isWeb) 4461 if (isTmux || isWeb)