[or-cvs] r17719: {tor} Make check-spaces happy. (tor/branches/tor-0_2_0-patches/src/or)
kloesing at seul.org
kloesing at seul.org
Mon Dec 22 01:16:15 UTC 2008
Author: kloesing
Date: 2008-12-21 20:16:14 -0500 (Sun, 21 Dec 2008)
New Revision: 17719
Modified:
tor/branches/tor-0_2_0-patches/src/or/circuituse.c
tor/branches/tor-0_2_0-patches/src/or/test.c
Log:
Make check-spaces happy.
Modified: tor/branches/tor-0_2_0-patches/src/or/circuituse.c
===================================================================
--- tor/branches/tor-0_2_0-patches/src/or/circuituse.c 2008-12-22 01:11:46 UTC (rev 17718)
+++ tor/branches/tor-0_2_0-patches/src/or/circuituse.c 2008-12-22 01:16:14 UTC (rev 17719)
@@ -1020,10 +1020,12 @@
uint32_t addr = 0;
if (tor_inet_aton(conn->socks_request->address, &in))
addr = ntohl(in.s_addr);
- if (router_exit_policy_all_routers_reject(addr, conn->socks_request->port,
+ if (router_exit_policy_all_routers_reject(addr,
+ conn->socks_request->port,
need_uptime)) {
log_notice(LD_APP,
- "No Tor server exists that allows exit to %s:%d. Rejecting.",
+ "No Tor server exists that allows exit to %s:%d. "
+ "Rejecting.",
safe_str(conn->socks_request->address),
conn->socks_request->port);
return -1;
Modified: tor/branches/tor-0_2_0-patches/src/or/test.c
===================================================================
--- tor/branches/tor-0_2_0-patches/src/or/test.c 2008-12-22 01:11:46 UTC (rev 17718)
+++ tor/branches/tor-0_2_0-patches/src/or/test.c 2008-12-22 01:16:14 UTC (rev 17719)
@@ -2558,7 +2558,7 @@
sign_skey_2 = crypto_new_pk_env();
sign_skey_3 = crypto_new_pk_env();
sign_skey_leg1 = pk_generate(4);
-
+
test_assert(!crypto_pk_read_private_key_from_string(sign_skey_1,
AUTHORITY_SIGNKEY_1));
test_assert(!crypto_pk_read_private_key_from_string(sign_skey_2,
More information about the tor-commits
mailing list