Whitespace changes.

This commit is contained in:
Linus Nordberg 2011-11-29 11:00:43 +01:00 committed by Nick Mathewson
parent 39ec781b8f
commit 32d10bdfb3
4 changed files with 13 additions and 12 deletions

View File

@ -65,7 +65,8 @@ int did_last_state_file_write_fail(void);
int or_state_save(time_t now); int or_state_save(time_t now);
const smartlist_t *get_configured_ports(void); const smartlist_t *get_configured_ports(void);
int get_first_advertised_port_by_type_af(int listener_type, int address_family); int get_first_advertised_port_by_type_af(int listener_type,
int address_family);
#define get_primary_or_port() \ #define get_primary_or_port() \
(get_first_advertised_port_by_type_af(CONN_TYPE_OR_LISTENER, AF_INET)) (get_first_advertised_port_by_type_af(CONN_TYPE_OR_LISTENER, AF_INET))
#define get_primary_dir_port() \ #define get_primary_dir_port() \

View File

@ -2121,7 +2121,6 @@ router_dump_router_to_string(char *s, size_t maxlen, routerinfo_t *router,
return (int)written+1; return (int)written+1;
} }
/** Copy the primary (IPv4) OR port (IP address and TCP port) for /** Copy the primary (IPv4) OR port (IP address and TCP port) for
* <b>router</b> into *<b>ap_out</b>. */ * <b>router</b> into *<b>ap_out</b>. */
void void
@ -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 /** Copy the preferred IPv6 OR port (IP address and TCP port) for
* <b>router</b> into *<b>ap_out</b>. */ * <b>router</b> into *<b>ap_out</b>. */
void 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_assert(ap_out != NULL);
tor_addr_copy(&ap_out->addr, &router->ipv6_addr); tor_addr_copy(&ap_out->addr, &router->ipv6_addr);