remove some dead code
This commit is contained in:
parent
f02566c7c5
commit
7136d457e9
@ -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 */
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user