summaryrefslogtreecommitdiffstats
path: root/xrdp/xrdp_process.c
diff options
context:
space:
mode:
authorjsorg71 <jsorg71>2004-11-15 01:30:28 +0000
committerjsorg71 <jsorg71>2004-11-15 01:30:28 +0000
commit9c580f9a846f9db83508a1bd4b2d9a354d906fcf (patch)
treefbd192cc668f2583a446422b31c8fb422e079752 /xrdp/xrdp_process.c
parent0be4f033922831d7173f86004ec0a0951a40f86d (diff)
downloadxrdp-proprietary-9c580f9a846f9db83508a1bd4b2d9a354d906fcf.tar.gz
xrdp-proprietary-9c580f9a846f9db83508a1bd4b2d9a354d906fcf.zip
started work on moduals
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