summaryrefslogtreecommitdiffstats
path: root/sesman/chansrv/chansrv.c
diff options
context:
space:
mode:
authorjsorg71 <jsorg71>2009-09-05 03:42:50 +0000
committerjsorg71 <jsorg71>2009-09-05 03:42:50 +0000
commit90ce47855c4b84195eeeaadd0aaa358441d745f4 (patch)
tree732b2cf1ab11fd924279d9d13215c18b92de710c /sesman/chansrv/chansrv.c
parent2a7c40dad83d2a1a90c795ba3f58edf672d25fe3 (diff)
downloadxrdp-proprietary-90ce47855c4b84195eeeaadd0aaa358441d745f4.tar.gz
xrdp-proprietary-90ce47855c4b84195eeeaadd0aaa358441d745f4.zip
use unix socket for chansrv
Diffstat (limited to 'sesman/chansrv/chansrv.c')
-rw-r--r--sesman/chansrv/chansrv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sesman/chansrv/chansrv.c b/sesman/chansrv/chansrv.c
index 1e80534b..47f5a53c 100644
--- a/sesman/chansrv/chansrv.c
+++ b/sesman/chansrv/chansrv.c
@@ -394,9 +394,9 @@ setup_listen(void)
{
trans_delete(g_lis_trans);
}
- g_lis_trans = trans_create(1, 8192, 8192);
+ g_lis_trans = trans_create(2, 8192, 8192);
g_lis_trans->trans_conn_in = my_trans_conn_in;
- g_snprintf(text, 255, "%d", 7200 + g_display_num);
+ g_snprintf(text, 255, "/tmp/xrdp_chansrv_socket_%d", 7200 + g_display_num);
error = trans_listen(g_lis_trans, text);
if (error != 0)
{