From 5d73e3751957188c4dd4e853063ce23ca1dd3ad4 Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Tue, 26 Aug 2008 19:13:54 +0000 Subject: and then make the indentation right svn:r16663 --- src/tools/tor-resolve.c | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) (limited to 'src/tools/tor-resolve.c') diff --git a/src/tools/tor-resolve.c b/src/tools/tor-resolve.c index d4e81003e..04822a15d 100644 --- a/src/tools/tor-resolve.c +++ b/src/tools/tor-resolve.c @@ -141,28 +141,28 @@ parse_socks4a_resolve_response(const char *response, size_t len, static const char * socks5_reason_to_string(char reason) { - switch(reason) { - case SOCKS5_SUCCEEDED: - return "succeeded"; - case SOCKS5_GENERAL_ERROR: - return "general error"; - case SOCKS5_NOT_ALLOWED: - return "not allowed"; - case SOCKS5_NET_UNREACHABLE: - return "network is unreachable"; - case SOCKS5_HOST_UNREACHABLE: - return "host is unreachable"; - case SOCKS5_CONNECTION_REFUSED: - return "connection refused"; - case SOCKS5_TTL_EXPIRED: - 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"; - } + switch(reason) { + case SOCKS5_SUCCEEDED: + return "succeeded"; + case SOCKS5_GENERAL_ERROR: + return "general error"; + case SOCKS5_NOT_ALLOWED: + return "not allowed"; + case SOCKS5_NET_UNREACHABLE: + return "network is unreachable"; + case SOCKS5_HOST_UNREACHABLE: + return "host is unreachable"; + case SOCKS5_CONNECTION_REFUSED: + return "connection refused"; + case SOCKS5_TTL_EXPIRED: + 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"; + } } /** Send a resolve request for hostname to the Tor listening on -- cgit v1.2.3