diff options
author | onefang | 2021-08-03 14:05:09 +1000 |
---|---|---|
committer | onefang | 2021-08-03 14:05:09 +1000 |
commit | 2e02ecb2b34b2b5a76608a1d012a1b3949d80238 (patch) | |
tree | 93fb34b55da361641e95c82934aa53001d7a139c /src/sledjchisl/sledjchisl.c | |
parent | Don't wait so long for tmux text. (diff) | |
download | opensim-SC-2e02ecb2b34b2b5a76608a1d012a1b3949d80238.zip opensim-SC-2e02ecb2b34b2b5a76608a1d012a1b3949d80238.tar.gz opensim-SC-2e02ecb2b34b2b5a76608a1d012a1b3949d80238.tar.bz2 opensim-SC-2e02ecb2b34b2b5a76608a1d012a1b3949d80238.tar.xz |
memset--
Diffstat (limited to 'src/sledjchisl/sledjchisl.c')
-rw-r--r-- | src/sledjchisl/sledjchisl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sledjchisl/sledjchisl.c b/src/sledjchisl/sledjchisl.c index 4e1852c..c8622d8 100644 --- a/src/sledjchisl/sledjchisl.c +++ b/src/sledjchisl/sledjchisl.c | |||
@@ -7150,7 +7150,7 @@ jit library is loaded or the JIT compiler will not be activated. | |||
7150 | I("Outputting to a terminal, not a web server."); | 7150 | I("Outputting to a terminal, not a web server."); |
7151 | // Check if we are already running inside the proper tmux server. | 7151 | // Check if we are already running inside the proper tmux server. |
7152 | char *eTMUX = getenv("TMUX"); | 7152 | char *eTMUX = getenv("TMUX"); |
7153 | memset(toybuf, 0, sizeof(toybuf)); | 7153 | |
7154 | snprintf(toybuf, sizeof(toybuf), "%s/%s", scRun, Tsocket); | 7154 | snprintf(toybuf, sizeof(toybuf), "%s/%s", scRun, Tsocket); |
7155 | if (((eTMUX) && (0 == strncmp(toybuf, eTMUX, strlen(toybuf))))) | 7155 | if (((eTMUX) && (0 == strncmp(toybuf, eTMUX, strlen(toybuf))))) |
7156 | { | 7156 | { |