Fixed possible infinite loop
Fixed possible infinite loop
This commit is contained in:
+1
-1
@@ -131,7 +131,7 @@ sig_sesman_session_end(int sig)
|
||||
session_kill(pid);
|
||||
}
|
||||
}
|
||||
while (pid >= 0);
|
||||
while (pid > 0);
|
||||
}
|
||||
|
||||
/******************************************************************************/
|
||||
|
||||
+1
-1
@@ -163,7 +163,7 @@ xrdp_shutdown(int sig)
|
||||
static void
|
||||
xrdp_child(int sig)
|
||||
{
|
||||
while (g_waitchild() >= 0)
|
||||
while (g_waitchild() > 0)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user