summaryrefslogtreecommitdiffstats
path: root/sesman/libscp
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 /sesman/libscp
parentf02566c7c53c6c4992bb6294129e14aabdee8622 (diff)
downloadxrdp-proprietary-7136d457e966401223b3989b9a781f86d1dbd8e2.tar.gz
xrdp-proprietary-7136d457e966401223b3989b9a781f86d1dbd8e2.zip
remove some dead code
Diffstat (limited to 'sesman/libscp')
-rw-r--r--sesman/libscp/libscp_v1s.c6
1 files changed, 0 insertions, 6 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 */