mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +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 *
|
||||
socks5_reason_to_string(char reason)
|
||||
{
|
||||
switch(reason){
|
||||
switch(reason) {
|
||||
case SOCKS5_SUCCEEDED:
|
||||
return "succeeded";
|
||||
case SOCKS5_GENERAL_ERROR:
|
||||
@ -155,13 +155,13 @@ socks5_reason_to_string(char reason)
|
||||
case SOCKS5_CONNECTION_REFUSED:
|
||||
return "connection refused";
|
||||
case SOCKS5_TTL_EXPIRED:
|
||||
return "ttl explired";
|
||||
return "ttl expired";
|
||||
case SOCKS5_COMMAND_NOT_SUPPORTED:
|
||||
return "command not supported";
|
||||
case SOCKS5_ADDRESS_TYPE_NOT_SUPPORTED:
|
||||
return "address type not supported";
|
||||
default:
|
||||
return "unknown SOCKS5 code.";
|
||||
return "unknown SOCKS5 code";
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user