[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] Normalize whitespace; add a "tell me about all the unnormal...
- To: or-cvs@freehaven.net
- Subject: [or-cvs] Normalize whitespace; add a "tell me about all the unnormal...
- From: nickm@seul.org (Nick Mathewson)
- Date: Tue, 9 Nov 2004 15:04:04 -0500 (EST)
- Delivered-to: archiver@seul.org
- Delivered-to: or-cvs-outgoing@seul.org
- Delivered-to: or-cvs@seul.org
- Delivery-date: Tue, 09 Nov 2004 15:05:01 -0500
- Reply-to: or-dev@freehaven.net
- Sender: owner-or-cvs@freehaven.net
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]");