summaryrefslogtreecommitdiffstats
path: root/sesman/session.c
diff options
context:
space:
mode:
authorjsorg71 <jsorg71>2006-02-12 00:34:19 +0000
committerjsorg71 <jsorg71>2006-02-12 00:34:19 +0000
commit37c764bdbb6f59c0f8809f9ad9feb820b28777cc (patch)
tree3a283b3c44ab3c119b5b57d3c6725ba3946f26e7 /sesman/session.c
parentcdba972be2ba5ab51987ecef8b53e2956de84ba4 (diff)
downloadxrdp-proprietary-37c764bdbb6f59c0f8809f9ad9feb820b28777cc.tar.gz
xrdp-proprietary-37c764bdbb6f59c0f8809f9ad9feb820b28777cc.zip
opps, its 60xx, not 61xx for Xserver tcp ports
Diffstat (limited to 'sesman/session.c')
-rw-r--r--sesman/session.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sesman/session.c b/sesman/session.c
index f9081b9e..86ecf8af 100644
--- a/sesman/session.c
+++ b/sesman/session.c
@@ -99,10 +99,10 @@ x_server_running(int display)
x_running = g_tcp_bind(sck, text);
g_tcp_close(sck);
}
- if (!x_running) /* check 61xx */
+ if (!x_running) /* check 60xx */
{
sck = g_tcp_socket();
- g_sprintf(text, "61%2.2d", display);
+ g_sprintf(text, "60%2.2d", display);
x_running = g_tcp_bind(sck, text);
g_tcp_close(sck);
}