aboutsummaryrefslogtreecommitdiff
path: root/src/core/or/circuituse.c
diff options
context:
space:
mode:
authorteor <teor@riseup.net>2020-05-07 20:07:13 +1000
committerteor <teor@riseup.net>2020-05-07 20:07:13 +1000
commit05c56ae455de1f8e1dc9816ab9dcd7f0cdc2c994 (patch)
treeeb5e6f815ebd3fc039365174c0df30f3d07669ee /src/core/or/circuituse.c
parent4a36dfebee080ccd56501042b2943c114544d7eb (diff)
downloadtor-05c56ae455de1f8e1dc9816ab9dcd7f0cdc2c994.tar.gz
tor-05c56ae455de1f8e1dc9816ab9dcd7f0cdc2c994.zip
Replace several C identifiers.
This is an automated commit, generated by this command: ./scripts/maint/rename_c_identifier.py \ router_skip_orport_reachability_check router_should_skip_orport_reachability_check \ router_skip_dirport_reachability_check router_should_skip_dirport_reachability_check \ router_connect_assume_or_reachable client_or_conn_should_skip_reachable_address_check \ router_connect_assume_dir_reachable client_dir_conn_should_skip_reachable_address_check It was generated with --no-verify, so it probably breaks some commit hooks. The commiter should be sure to fix them up in a subsequent commit.
Diffstat (limited to 'src/core/or/circuituse.c')
-rw-r--r--src/core/or/circuituse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/or/circuituse.c b/src/core/or/circuituse.c
index 51e3281337..3ab527f425 100644
--- a/src/core/or/circuituse.c
+++ b/src/core/or/circuituse.c
@@ -1641,7 +1641,7 @@ static void
circuit_testing_opened(origin_circuit_t *circ)
{
if (have_performed_bandwidth_test ||
- !router_skip_orport_reachability_check(get_options())) {
+ !router_should_skip_orport_reachability_check(get_options())) {
/* either we've already done everything we want with testing circuits,
* or this testing circuit became open due to a fluke, e.g. we picked
* a last hop where we already had the connection open due to an
@@ -1659,7 +1659,7 @@ static void
circuit_testing_failed(origin_circuit_t *circ, int at_last_hop)
{
const or_options_t *options = get_options();
- if (server_mode(options) && router_skip_orport_reachability_check(options))
+ if (server_mode(options) && router_should_skip_orport_reachability_check(options))
return;
log_info(LD_GENERAL,