summaryrefslogtreecommitdiffstats
path: root/xrdp/xrdp_mm.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 /xrdp/xrdp_mm.c
parent2a7c40dad83d2a1a90c795ba3f58edf672d25fe3 (diff)
downloadxrdp-proprietary-90ce47855c4b84195eeeaadd0aaa358441d745f4.tar.gz
xrdp-proprietary-90ce47855c4b84195eeeaadd0aaa358441d745f4.zip
use unix socket for chansrv
Diffstat (limited to 'xrdp/xrdp_mm.c')
-rw-r--r--xrdp/xrdp_mm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xrdp/xrdp_mm.c b/xrdp/xrdp_mm.c
index edd5a069..d76a63c5 100644
--- a/xrdp/xrdp_mm.c
+++ b/xrdp/xrdp_mm.c
@@ -750,11 +750,11 @@ xrdp_mm_process_login_response(struct xrdp_mm* self, struct stream* s)
xrdp_wm_set_login_mode(self->wm, 10);
self->wm->dragging = 0;
/* connect channel redir */
- self->chan_trans = trans_create(1, 8192, 8192);
+ self->chan_trans = trans_create(2, 8192, 8192);
self->chan_trans->trans_data_in = xrdp_mm_chan_data_in;
self->chan_trans->header_size = 8;
self->chan_trans->callback_data = self;
- g_snprintf(text, 255, "%d", 7200 + display);
+ g_snprintf(text, 255, "/tmp/xrdp_chansrv_socket_%d", 7200 + display);
/* try to connect up to 4 times */
for (index = 0; index < 4; index++)
{