From 6f90e27d801c877233ae0ec37378bdbd1c603f84 Mon Sep 17 00:00:00 2001 From: Jay Sorg Date: Sat, 10 Oct 2015 22:16:16 -0700 Subject: [PATCH] tabs to spaces, no logic change --- sesman/scp_v0.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sesman/scp_v0.c b/sesman/scp_v0.c index ce528d46..7ffdb1e2 100644 --- a/sesman/scp_v0.c +++ b/sesman/scp_v0.c @@ -1,7 +1,7 @@ /** * xrdp: A Remote Desktop Protocol server. * - * Copyright (C) Jay Sorg 2004-2013 + * Copyright (C) Jay Sorg 2004-2015 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -55,7 +55,7 @@ scp_v0_process(struct SCP_CONNECTION *c, struct SCP_SESSION *s) } else { - scp_v0s_replyauthentication(c, 32+3); /* all first 32 are reserved for PAM errors */ + scp_v0s_replyauthentication(c, 32 + 3); /* all first 32 are reserved for PAM errors */ log_message(LOG_LEVEL_INFO, "Username okey but group problem for " "user: %s", s->username); /* g_writeln("user password ok, but group problem"); */ @@ -128,11 +128,11 @@ scp_v0_process(struct SCP_CONNECTION *c, struct SCP_SESSION *s) display = session_start(s->width, s->height, s->bpp, s->username, s->password, data, SESMAN_SESSION_TYPE_XRDP, s->domain, s->program, s->directory, - s->client_ip); - } + s->client_ip); + } else if (SCP_SESSION_TYPE_XORG == s->type) { - /* type is SCP_SESSION_TYPE_XORG */ + /* type is SCP_SESSION_TYPE_XORG */ 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,