summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsorg71 <jsorg71>2009-12-26 22:18:53 +0000
committerjsorg71 <jsorg71>2009-12-26 22:18:53 +0000
commit7136d457e966401223b3989b9a781f86d1dbd8e2 (patch)
tree3915b182d5b799d671a4abc4fc69783f927b952a
parentf02566c7c53c6c4992bb6294129e14aabdee8622 (diff)
downloadxrdp-proprietary-7136d457e966401223b3989b9a781f86d1dbd8e2.tar.gz
xrdp-proprietary-7136d457e966401223b3989b9a781f86d1dbd8e2.zip
remove some dead code
-rw-r--r--sesman/libscp/libscp_v1s.c6
-rw-r--r--sesman/scp_v0.c1
2 files changed, 0 insertions, 7 deletions
diff --git a/sesman/libscp/libscp_v1s.c b/sesman/libscp/libscp_v1s.c
index 23ee32ef..8752e735 100644
--- a/sesman/libscp/libscp_v1s.c
+++ b/sesman/libscp/libscp_v1s.c
@@ -61,10 +61,6 @@ enum SCP_SERVER_STATES_E scp_v1s_accept(struct SCP_CONNECTION* c, struct SCP_SES
return SCP_SERVER_STATE_NETWORK_ERR;
}
}
- else
- {
- version = 1;
- }
in_uint32_be(c->in_s, size);
if (size < 12)
@@ -242,8 +238,6 @@ scp_v1s_request_password(struct SCP_CONNECTION* c, struct SCP_SESSION* s, char*
/* send password request */
version=1;
- size=12;
- cmdset=0;
cmd=3;
out_uint32_be(c->out_s, version); /* version */
diff --git a/sesman/scp_v0.c b/sesman/scp_v0.c
index af84f80a..7848ca90 100644
--- a/sesman/scp_v0.c
+++ b/sesman/scp_v0.c
@@ -77,7 +77,6 @@ scp_v0_process(struct SCP_CONNECTION* c, struct SCP_SESSION* s)
if (display == 0)
{
auth_end(data);
- data = 0;
scp_v0s_deny_connection(c);
}
else