diff options
author | teor <teor@riseup.net> | 2020-05-07 20:07:13 +1000 |
---|---|---|
committer | teor <teor@riseup.net> | 2020-05-07 20:07:13 +1000 |
commit | 05c56ae455de1f8e1dc9816ab9dcd7f0cdc2c994 (patch) | |
tree | eb5e6f815ebd3fc039365174c0df30f3d07669ee /src/feature/control | |
parent | 4a36dfebee080ccd56501042b2943c114544d7eb (diff) | |
download | tor-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/feature/control')
-rw-r--r-- | src/feature/control/control_getinfo.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/feature/control/control_getinfo.c b/src/feature/control/control_getinfo.c index d80d5a73f9..52cf54b1cd 100644 --- a/src/feature/control/control_getinfo.c +++ b/src/feature/control/control_getinfo.c @@ -1276,15 +1276,15 @@ getinfo_helper_events(control_connection_t *control_conn, *answer = tor_strdup(directories_have_accepted_server_descriptor() ? "1" : "0"); } else if (!strcmp(question, "status/reachability-succeeded/or")) { - *answer = tor_strdup(router_skip_orport_reachability_check(options) ? + *answer = tor_strdup(router_should_skip_orport_reachability_check(options) ? "1" : "0"); } else if (!strcmp(question, "status/reachability-succeeded/dir")) { - *answer = tor_strdup(router_skip_dirport_reachability_check(options) ? + *answer = tor_strdup(router_should_skip_dirport_reachability_check(options) ? "1" : "0"); } else if (!strcmp(question, "status/reachability-succeeded")) { tor_asprintf(answer, "OR=%d DIR=%d", - router_skip_orport_reachability_check(options) ? 1 : 0, - router_skip_dirport_reachability_check(options) ? 1 : 0); + router_should_skip_orport_reachability_check(options) ? 1 : 0, + router_should_skip_dirport_reachability_check(options) ? 1 : 0); } else if (!strcmp(question, "status/bootstrap-phase")) { *answer = control_event_boot_last_msg(); } else if (!strcmpstart(question, "status/version/")) { |