diff options
author | Jay Sorg <jay.sorg@gmail.com> | 2015-10-10 22:16:16 -0700 |
---|---|---|
committer | Jay Sorg <jay.sorg@gmail.com> | 2015-10-10 22:16:16 -0700 |
commit | 6f90e27d801c877233ae0ec37378bdbd1c603f84 (patch) | |
tree | cb9e7e26b2443ed70e80ebdae016d1847ae5fedf | |
parent | dcdb617e63239763c2896100a59b965a04ce4ebb (diff) | |
download | xrdp-proprietary-6f90e27d801c877233ae0ec37378bdbd1c603f84.tar.gz xrdp-proprietary-6f90e27d801c877233ae0ec37378bdbd1c603f84.zip |
tabs to spaces, no logic change
-rw-r--r-- | sesman/scp_v0.c | 10 |
1 files 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, |