summaryrefslogtreecommitdiff
path: root/src/or/router.c
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2011-11-29 11:00:43 +0100
committerNick Mathewson <nickm@torproject.org>2011-11-30 11:55:46 -0500
commit32d10bdfb3a55fe3752f85a7937e1f3f5c7e2c56 (patch)
tree876474c9c79c47d29d00f83e3204185520454bc0 /src/or/router.c
parent39ec781b8fa164dd2b68cec349f2b38d81fa3cbb (diff)
downloadtor-32d10bdfb3a55fe3752f85a7937e1f3f5c7e2c56.tar.gz
tor-32d10bdfb3a55fe3752f85a7937e1f3f5c7e2c56.zip
Whitespace changes.
Diffstat (limited to 'src/or/router.c')
-rw-r--r--src/or/router.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/or/router.c b/src/or/router.c
index 6904e85157..a08a2009a7 100644
--- a/src/or/router.c
+++ b/src/or/router.c
@@ -2121,7 +2121,6 @@ router_dump_router_to_string(char *s, size_t maxlen, routerinfo_t *router,
return (int)written+1;
}
-
/** Copy the primary (IPv4) OR port (IP address and TCP port) for
* <b>router</b> into *<b>ap_out</b>. */
void
@@ -2143,7 +2142,7 @@ int
router_ipv6_preferred(const routerinfo_t *router)
{
return (!tor_addr_is_null(&router->ipv6_addr)
- && (router->ipv6_preferred || router->addr == 0));
+ && (router->ipv6_preferred || router->addr == 0));
}
/** Copy the preferred OR port (IP address and TCP port) for
@@ -2160,7 +2159,8 @@ router_get_pref_orport(const routerinfo_t *router, tor_addr_port_t *ap_out)
/** Copy the preferred IPv6 OR port (IP address and TCP port) for
* <b>router</b> into *<b>ap_out</b>. */
void
-router_get_pref_ipv6_orport(const routerinfo_t *router, tor_addr_port_t *ap_out)
+router_get_pref_ipv6_orport(const routerinfo_t *router,
+ tor_addr_port_t *ap_out)
{
tor_assert(ap_out != NULL);
tor_addr_copy(&ap_out->addr, &router->ipv6_addr);