summaryrefslogtreecommitdiffstats
path: root/xrdp/xrdp_process.c
diff options
context:
space:
mode:
Diffstat (limited to 'xrdp/xrdp_process.c')
-rw-r--r--xrdp/xrdp_process.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/xrdp/xrdp_process.c b/xrdp/xrdp_process.c
index 8694f19d..f488cdbe 100644
--- a/xrdp/xrdp_process.c
+++ b/xrdp/xrdp_process.c
@@ -59,7 +59,7 @@ int xrdp_process_main_loop(struct xrdp_process* self)
{
while (!g_is_term() && !self->term)
{
- i = g_tcp_select(self->sck);
+ i = g_tcp_select(self->sck, self->app_sck);
if (i == 1)
{
init_stream(s, 8192);
@@ -105,6 +105,9 @@ int xrdp_process_main_loop(struct xrdp_process* self)
xrdp_wm_init(self->wm);
}
}
+ else if (i == 2)
+ {
+ }
else if (i == 0)
g_sleep(10);
else