summaryrefslogtreecommitdiffstats
path: root/sesman/scp_v0.c
diff options
context:
space:
mode:
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,