mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 12:23:32 +01:00
fix typos from jake's patch earlier (one pointed out by fabian, thanks!)
svn:r16662
This commit is contained in:
parent
2625eb204f
commit
845d2c26b4
@ -141,7 +141,7 @@ parse_socks4a_resolve_response(const char *response, size_t len,
|
|||||||
static const char *
|
static const char *
|
||||||
socks5_reason_to_string(char reason)
|
socks5_reason_to_string(char reason)
|
||||||
{
|
{
|
||||||
switch(reason){
|
switch(reason) {
|
||||||
case SOCKS5_SUCCEEDED:
|
case SOCKS5_SUCCEEDED:
|
||||||
return "succeeded";
|
return "succeeded";
|
||||||
case SOCKS5_GENERAL_ERROR:
|
case SOCKS5_GENERAL_ERROR:
|
||||||
@ -155,13 +155,13 @@ socks5_reason_to_string(char reason)
|
|||||||
case SOCKS5_CONNECTION_REFUSED:
|
case SOCKS5_CONNECTION_REFUSED:
|
||||||
return "connection refused";
|
return "connection refused";
|
||||||
case SOCKS5_TTL_EXPIRED:
|
case SOCKS5_TTL_EXPIRED:
|
||||||
return "ttl explired";
|
return "ttl expired";
|
||||||
case SOCKS5_COMMAND_NOT_SUPPORTED:
|
case SOCKS5_COMMAND_NOT_SUPPORTED:
|
||||||
return "command not supported";
|
return "command not supported";
|
||||||
case SOCKS5_ADDRESS_TYPE_NOT_SUPPORTED:
|
case SOCKS5_ADDRESS_TYPE_NOT_SUPPORTED:
|
||||||
return "address type not supported";
|
return "address type not supported";
|
||||||
default:
|
default:
|
||||||
return "unknown SOCKS5 code.";
|
return "unknown SOCKS5 code";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user