[or-cvs] Normalize whitespace; add a "tell me about all the unnormal...
Nick Mathewson
nickm at seul.org
Tue Nov 9 20:04:04 UTC 2004
Update of /home/or/cvsroot/src/tools
In directory moria.mit.edu:/tmp/cvs-serv28856/src/tools
Modified Files:
tor-resolve.c
Log Message:
Normalize whitespace; add a "tell me about all the unnormalized whitespace" target; fix a braino in dirserv.c
Index: tor-resolve.c
===================================================================
RCS file: /home/or/cvsroot/src/tools/tor-resolve.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- tor-resolve.c 2 Nov 2004 03:11:01 -0000 1.4
+++ tor-resolve.c 9 Nov 2004 20:04:00 -0000 1.5
@@ -44,7 +44,7 @@
do { log_fn(LOG_ERR, "Error while %s: %s", act, \
tor_socket_strerror(tor_socket_errno(_s))); } while(0)
-static int
+static int
build_socks4a_resolve_request(char **out,
const char *username,
const char *hostname)
@@ -66,7 +66,7 @@
return len;
}
-static int
+static int
parse_socks4a_resolve_response(const char *response, size_t len,
uint32_t *addr_out)
{
@@ -88,7 +88,7 @@
return 0;
}
-static int
+static int
do_resolve(const char *hostname, uint32_t sockshost, uint16_t socksport,
uint32_t *result_addr)
{
@@ -152,7 +152,7 @@
return 0;
}
-static void
+static void
usage(void)
{
puts("Syntax: tor-resolve [-v] hostname [sockshost:socksport]");
More information about the tor-commits
mailing list