Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/neutrinolabs/xrdp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/sesman
diff options
context:
space:
mode:
authorzbstao <zhongbin757@foxmail.com>2022-02-15 04:41:21 +0300
committerzbstao <zhongbin757@foxmail.com>2022-02-15 04:41:21 +0300
commitff39ce719e966ecd2b104e1c3cc87a2f34f6a928 (patch)
tree4f92ad870f2d42c911978c8a46d059973f8f134b /sesman
parent82b1aab9bac7f05d04fcca7a1e9d81495c5b1b65 (diff)
Fixed possible infinite loop
Fixed possible infinite loop
Diffstat (limited to 'sesman')
-rw-r--r--sesman/sig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sesman/sig.c b/sesman/sig.c
index fabff3af..cc29dea1 100644
--- a/sesman/sig.c
+++ b/sesman/sig.c
@@ -131,7 +131,7 @@ sig_sesman_session_end(int sig)
session_kill(pid);
}
}
- while (pid >= 0);
+ while (pid > 0);
}
/******************************************************************************/