aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
authoronefang2021-08-27 05:40:33 +1000
committeronefang2021-08-27 05:40:33 +1000
commit27279eaf184651d30d1b85707093bdf7e4351e29 (patch)
treefd575efdf6f2820f75ed390ff3f843abc256bfbd /src
parentConfigure the base port number for sim autogenerated ports. (diff)
downloadopensim-SC-27279eaf184651d30d1b85707093bdf7e4351e29.zip
opensim-SC-27279eaf184651d30d1b85707093bdf7e4351e29.tar.gz
opensim-SC-27279eaf184651d30d1b85707093bdf7e4351e29.tar.bz2
opensim-SC-27279eaf184651d30d1b85707093bdf7e4351e29.tar.xz
Safety check.
Diffstat (limited to 'src')
-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 fc0857a..ab8776c 100644
--- a/src/sledjchisl/sledjchisl.c
+++ b/src/sledjchisl/sledjchisl.c
@@ -1938,7 +1938,7 @@ void stopSim(simData *simd, char *sim, char *type, int count, int window, int pa
1938 { 1938 {
1939 if ('0' == r[0]) 1939 if ('0' == r[0])
1940 sendTmuxCmd(simd->paneID, "quit"); 1940 sendTmuxCmd(simd->paneID, "quit");
1941 else 1941 else if (strlen(r) > 0)
1942 { 1942 {
1943 r[strlen(r) - 1] = '\0'; 1943 r[strlen(r) - 1] = '\0';
1944 simd->users = atoi(r); 1944 simd->users = atoi(r);