summaryrefslogtreecommitdiffstats
path: root/xrdp/xrdp_listen.c
diff options
context:
space:
mode:
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)
{