summaryrefslogtreecommitdiffstats
path: root/xrdp/xrdp_listen.c
diff options
context:
space:
mode:
authorjsorg71 <jsorg71>2005-08-18 00:32:11 +0000
committerjsorg71 <jsorg71>2005-08-18 00:32:11 +0000
commit9d2ce459daf384586ad7f9f24a8847eafe84108e (patch)
tree60b48ad4a5122cc556797d571c9f276085ed619b /xrdp/xrdp_listen.c
parenta4ce4c46c6479746ece90e78ffc7ffbfd60ff349 (diff)
downloadxrdp-proprietary-9d2ce459daf384586ad7f9f24a8847eafe84108e.tar.gz
xrdp-proprietary-9d2ce459daf384586ad7f9f24a8847eafe84108e.zip
add new painter funcs
Diffstat (limited to 'xrdp/xrdp_listen.c')
-rw-r--r--xrdp/xrdp_listen.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/xrdp/xrdp_listen.c b/xrdp/xrdp_listen.c
index 1e399368..a78b15a4 100644
--- a/xrdp/xrdp_listen.c
+++ b/xrdp/xrdp_listen.c
@@ -149,6 +149,7 @@ xrdp_listen_main_loop(struct xrdp_listen* self)
error = g_tcp_bind(self->sck, "3389");
if (error != 0)
{
+ g_printf("listening on 3390\n\r");
error = g_tcp_bind(self->sck, "3390");
}
if (error != 0)
@@ -167,6 +168,7 @@ xrdp_listen_main_loop(struct xrdp_listen* self)
if (error == -1 && g_tcp_last_error_would_block(self->sck))
{
g_sleep(100);
+ g_loop();
}
else if (error == -1)
{