diff options
author | jsorg71 <jsorg71> | 2004-11-15 01:30:28 +0000 |
---|---|---|
committer | jsorg71 <jsorg71> | 2004-11-15 01:30:28 +0000 |
commit | 9c580f9a846f9db83508a1bd4b2d9a354d906fcf (patch) | |
tree | fbd192cc668f2583a446422b31c8fb422e079752 /xrdp/xrdp_process.c | |
parent | 0be4f033922831d7173f86004ec0a0951a40f86d (diff) | |
download | xrdp-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.c | 5 |
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 |