diff options
author | teor <teor@riseup.net> | 2020-05-07 20:16:56 +1000 |
---|---|---|
committer | teor <teor@riseup.net> | 2020-05-07 20:16:56 +1000 |
commit | 74902c8aca96dda3178fac768223bcdb9a11f50c (patch) | |
tree | 2df88af692001a780926d856b40231662dd2cf72 /src/feature/nodelist/routerlist.c | |
parent | 05c56ae455de1f8e1dc9816ab9dcd7f0cdc2c994 (diff) | |
download | tor-74902c8aca96dda3178fac768223bcdb9a11f50c.tar.gz tor-74902c8aca96dda3178fac768223bcdb9a11f50c.zip |
Wrap long lines
Diffstat (limited to 'src/feature/nodelist/routerlist.c')
-rw-r--r-- | src/feature/nodelist/routerlist.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/feature/nodelist/routerlist.c b/src/feature/nodelist/routerlist.c index 0e8fff7c31..2a5353c563 100644 --- a/src/feature/nodelist/routerlist.c +++ b/src/feature/nodelist/routerlist.c @@ -476,7 +476,8 @@ router_reload_router_list(void) * Finally, return true if ReachableAddresses is set. */ int -client_or_conn_should_skip_reachable_address_check(const or_options_t *options, +client_or_conn_should_skip_reachable_address_check( + const or_options_t *options, int try_ip_pref) { /* Servers always have and prefer IPv4. @@ -491,7 +492,8 @@ client_or_conn_should_skip_reachable_address_check(const or_options_t *options, * This function is obsolete, because clients only use ORPorts. */ int -client_dir_conn_should_skip_reachable_address_check(const or_options_t *options, +client_dir_conn_should_skip_reachable_address_check( + const or_options_t *options, int try_ip_pref) { /* Servers always have and prefer IPv4. @@ -518,7 +520,8 @@ router_add_running_nodes_to_smartlist(smartlist_t *sl, int need_uptime, int need_desc, int pref_addr, int direct_conn) { - const int check_reach = !client_or_conn_should_skip_reachable_address_check(get_options(), + const int check_reach = !client_or_conn_should_skip_reachable_address_check( + get_options(), pref_addr); /* XXXX MOVE */ SMARTLIST_FOREACH_BEGIN(nodelist_get_list(), const node_t *, node) { |