diff options
author | Roger Dingledine <arma@torproject.org> | 2006-02-13 10:36:39 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2006-02-13 10:36:39 +0000 |
commit | 8262b7d1dbb390a1cb7d04553cefca46f1b7cff6 (patch) | |
tree | 5b762e532d23a10d27f0c33948c7ba5966d6667a /src/tools | |
parent | dda257435ea8c68982a58f1ec2e5c44ff55cdc45 (diff) | |
download | tor-8262b7d1dbb390a1cb7d04553cefca46f1b7cff6.tar.gz tor-8262b7d1dbb390a1cb7d04553cefca46f1b7cff6.zip |
and resolve long-lines and fix an error string
svn:r6007
Diffstat (limited to 'src/tools')
-rw-r--r-- | src/tools/tor-resolve.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/tools/tor-resolve.c b/src/tools/tor-resolve.c index fbe787f689..052526698e 100644 --- a/src/tools/tor-resolve.c +++ b/src/tools/tor-resolve.c @@ -167,7 +167,8 @@ do_resolve(const char *hostname, uint32_t sockshost, uint16_t socksport, len += r; } - if (parse_socks4a_resolve_response(response_buf, RESPONSE_LEN,result_addr)<0){ + if (parse_socks4a_resolve_response(response_buf, RESPONSE_LEN, + result_addr)<0){ return -1; } @@ -229,9 +230,10 @@ main(int argc, char **argv) } if (!strcasecmpend(arg[0], ".onion")) { - fprintf(stderr, "%s is a hidden service; those don't have IP addresses.\n\n" - "To connect to a hidden service, you need to send the hostname to Tor;\n" - "we suggest SOCKS 4a.\n", arg[0]); + fprintf(stderr, + "%s is a hidden service; those don't have IP addresses.\n\n" + "To connect to a hidden service, you need to send the hostname\n" + "to Tor; we suggest an application that uses SOCKS 4a.\n", arg[0]); return 1; } |