[or-cvs] and resolve long-lines and fix an error string
arma at seul.org
arma at seul.org
Mon Feb 13 10:36:41 UTC 2006
Update of /home2/or/cvsroot/tor/src/tools
In directory moria:/home/arma/work/onion/cvs/tor/src/tools
Modified Files:
tor-resolve.c
Log Message:
and resolve long-lines and fix an error string
Index: tor-resolve.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/tools/tor-resolve.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -p -d -r1.23 -r1.24
--- tor-resolve.c 13 Feb 2006 10:33:00 -0000 1.23
+++ tor-resolve.c 13 Feb 2006 10:36:39 -0000 1.24
@@ -167,7 +167,8 @@ do_resolve(const char *hostname, uint32_
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;
}
More information about the tor-commits
mailing list