summaryrefslogtreecommitdiffstats
path: root/sesman/scp_v0.c
diff options
context:
space:
mode:
authorspeidy <speidy@gmail.com>2014-03-22 13:36:33 +0200
committerspeidy <speidy@gmail.com>2014-03-22 13:36:33 +0200
commit8566230442e5d4d2cbdfdc298bf5fcd8b62e3dd9 (patch)
treeb3cf86169038348c76946f860e917fe8c458924a /sesman/scp_v0.c
parente840c8f335335fd30832eb4ff3991ad0e44557ac (diff)
downloadxrdp-proprietary-8566230442e5d4d2cbdfdc298bf5fcd8b62e3dd9.tar.gz
xrdp-proprietary-8566230442e5d4d2cbdfdc298bf5fcd8b62e3dd9.zip
sesman: do reconnect to an exisitng Xorg session
Diffstat (limited to 'sesman/scp_v0.c')
-rw-r--r--sesman/scp_v0.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sesman/scp_v0.c b/sesman/scp_v0.c
index cf5aa047..9e7d9083 100644
--- a/sesman/scp_v0.c
+++ b/sesman/scp_v0.c
@@ -130,10 +130,10 @@ scp_v0_process(struct SCP_CONNECTION *c, struct SCP_SESSION *s)
s->domain, s->program, s->directory,
s->client_ip);
}
- else
+ else if (SCP_SESSION_TYPE_XORG == s->type)
{
/* type is SCP_SESSION_TYPE_XORG */
- log_message(LOG_LEVEL_INFO, "starting XOrg session...");
+ log_message(LOG_LEVEL_INFO, "starting Xorg session...");
display = session_start(s->width, s->height, s->bpp, s->username,
s->password, data, SESMAN_SESSION_TYPE_XORG,
s->domain, s->program, s->directory,