diff options
Diffstat (limited to 'sesman')
-rw-r--r-- | sesman/libscp/libscp_v1s.c | 6 | ||||
-rw-r--r-- | sesman/scp_v0.c | 1 |
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 |