diff options
author | onefang | 2020-04-22 05:43:08 +1000 |
---|---|---|
committer | onefang | 2020-04-22 05:43:08 +1000 |
commit | 9164fe634d960faf4cffefc0f7973ee341eda7eb (patch) | |
tree | 0ed478779b5f7f472336d4f846319752867b8081 /src | |
parent | Comments ++ -- and commented out unused code. (diff) | |
download | opensim-SC_OLD-9164fe634d960faf4cffefc0f7973ee341eda7eb.zip opensim-SC_OLD-9164fe634d960faf4cffefc0f7973ee341eda7eb.tar.gz opensim-SC_OLD-9164fe634d960faf4cffefc0f7973ee341eda7eb.tar.bz2 opensim-SC_OLD-9164fe634d960faf4cffefc0f7973ee341eda7eb.tar.xz |
No more chill out and veg out.
Diffstat (limited to 'src')
-rw-r--r-- | src/sledjchisl/sledjchisl.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/sledjchisl/sledjchisl.c b/src/sledjchisl/sledjchisl.c index 99a4adb..cc65417 100644 --- a/src/sledjchisl/sledjchisl.c +++ b/src/sledjchisl/sledjchisl.c | |||
@@ -388,7 +388,7 @@ struct _reqData | |||
388 | qgrow_t *reply; | 388 | qgrow_t *reply; |
389 | // pageBuildFunction func; | 389 | // pageBuildFunction func; |
390 | struct timespec then; | 390 | struct timespec then; |
391 | boolean chillOut, vegOut; | 391 | // boolean chillOut, vegOut; |
392 | }; | 392 | }; |
393 | 393 | ||
394 | static void showSesh(qgrow_t *reply, sesh *shs) | 394 | static void showSesh(qgrow_t *reply, sesh *shs) |
@@ -2935,7 +2935,7 @@ static void bitchSession(reqData *Rd, char *message, char *log) | |||
2935 | { | 2935 | { |
2936 | addStrL(Rd->errors, message); | 2936 | addStrL(Rd->errors, message); |
2937 | C("%s %s %s - %s %s", getStrH(Rd->headers, "REMOTE_ADDR"), Rd->shs.UUID, getStrH(Rd->stuff, "name"), message, log); | 2937 | C("%s %s %s - %s %s", getStrH(Rd->headers, "REMOTE_ADDR"), Rd->shs.UUID, getStrH(Rd->stuff, "name"), message, log); |
2938 | Rd->vegOut = TRUE; | 2938 | // Rd->vegOut = TRUE; |
2939 | } | 2939 | } |
2940 | 2940 | ||
2941 | 2941 | ||
@@ -3683,14 +3683,14 @@ static int sessionValidate(reqData *Rd, inputForm *iF, inputValue *iV) | |||
3683 | if (now.tv_sec > st.st_mtim.tv_sec + idleTimeOut) | 3683 | if (now.tv_sec > st.st_mtim.tv_sec + idleTimeOut) |
3684 | { | 3684 | { |
3685 | W("Session idled out."); | 3685 | W("Session idled out."); |
3686 | Rd->vegOut = TRUE; | 3686 | // Rd->vegOut = TRUE; |
3687 | } | 3687 | } |
3688 | else | 3688 | else |
3689 | { | 3689 | { |
3690 | if (now.tv_sec > st.st_mtim.tv_sec + seshTimeOut) | 3690 | if (now.tv_sec > st.st_mtim.tv_sec + seshTimeOut) |
3691 | { | 3691 | { |
3692 | W("Session timed out."); | 3692 | W("Session timed out."); |
3693 | Rd->vegOut = TRUE; | 3693 | // Rd->vegOut = TRUE; |
3694 | } | 3694 | } |
3695 | else | 3695 | else |
3696 | { | 3696 | { |