diff options
author | ilsimo <ilsimo> | 2006-10-28 15:04:51 +0000 |
---|---|---|
committer | ilsimo <ilsimo> | 2006-10-28 15:04:51 +0000 |
commit | ef1605e6476c430f91dc9832c1d259196c08d833 (patch) | |
tree | 964919109256eea5a6e92ab9735a658e544f713e /sesman/scp_v0.c | |
parent | cf00c1707d0cfc3bde2d6bff9a1c73123375abe9 (diff) | |
download | xrdp-proprietary-ef1605e6476c430f91dc9832c1d259196c08d833.tar.gz xrdp-proprietary-ef1605e6476c430f91dc9832c1d259196c08d833.zip |
Fix for an error which blocks X11rdp session to be started
Diffstat (limited to 'sesman/scp_v0.c')
-rw-r--r-- | sesman/scp_v0.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sesman/scp_v0.c b/sesman/scp_v0.c index 37d8a2cd..9e189492 100644 --- a/sesman/scp_v0.c +++ b/sesman/scp_v0.c @@ -31,7 +31,6 @@ void DEFAULT_CC scp_v0_process(struct SCP_CONNECTION* c, struct SCP_SESSION* s) { - int code=0; int display=0; long data; struct session_item* s_item; @@ -53,7 +52,7 @@ scp_v0_process(struct SCP_CONNECTION* c, struct SCP_SESSION* s) if (1 == access_login_allowed(s->username)) { log_message(LOG_LEVEL_INFO, "granted TS access to user %s", s->username); - if (0 == code) + if (SCP_SESSION_TYPE_XVNC == s->type) { log_message(LOG_LEVEL_INFO, "starting Xvnc session..."); display = session_start(s->width, s->height, s->bpp, s->username, s->password, |