summaryrefslogtreecommitdiffstats
path: root/xrdp/xrdp.c
diff options
context:
space:
mode:
authorJay Sorg <jay.sorg@gmail.com>2012-05-26 17:24:04 -0700
committerJay Sorg <jay.sorg@gmail.com>2012-05-26 17:24:04 -0700
commitbde5dd66713cec177846627bf026d8bcddbb41a8 (patch)
tree3b914749067f0b70a792a2e48ceda737c2f2db34 /xrdp/xrdp.c
parentd08e27e82463c0f998c82ff62cd6dda81822c68b (diff)
downloadxrdp-proprietary-bde5dd66713cec177846627bf026d8bcddbb41a8.tar.gz
xrdp-proprietary-bde5dd66713cec177846627bf026d8bcddbb41a8.zip
added g_close_wait_obj and size parameter to g_write_ip_address
Diffstat (limited to 'xrdp/xrdp.c')
-rw-r--r--xrdp/xrdp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xrdp/xrdp.c b/xrdp/xrdp.c
index d43870f2..d88fd677 100644
--- a/xrdp/xrdp.c
+++ b/xrdp/xrdp.c
@@ -111,8 +111,8 @@ xrdp_child_fork(void)
char text[256];
/* close, don't delete these */
- g_tcp_close((int)g_term_event);
- g_tcp_close((int)g_sync_event);
+ g_close_wait_obj(g_term_event);
+ g_close_wait_obj(g_sync_event);
pid = g_getpid();
g_snprintf(text, 255, "xrdp_%8.8x_main_term", pid);
g_term_event = g_create_wait_obj(text);