diff options
author | teor <teor@torproject.org> | 2019-11-05 11:28:57 +1000 |
---|---|---|
committer | teor <teor@torproject.org> | 2019-11-05 11:28:57 +1000 |
commit | cb8ebc0b4c9582f2588be84bc0af0ab3dfe4fc2f (patch) | |
tree | 64d478c825955f9db31b6b074dcd8ecfc5e2cd04 /src/feature/dirauth/dirauth_config.c | |
parent | 96334d6f7f4751256dec2b254a075e5dd2eba48f (diff) | |
download | tor-cb8ebc0b4c9582f2588be84bc0af0ab3dfe4fc2f.tar.gz tor-cb8ebc0b4c9582f2588be84bc0af0ab3dfe4fc2f.zip |
config: Rename new global functions with a prefix
This is an automated commit, generated by this command:
./scripts/maint/rename_c_identifier.py \
get_dirportfrontpage relay_get_dirportfrontpage \
parse_port_config port_parse_config \
count_real_listeners port_count_real_listeners \
parse_transport_line pt_parse_transport_line \
ensure_bandwidth_cap config_ensure_bandwidth_cap \
get_effective_bwrate relay_get_effective_bwrate \
get_effective_bwburst relay_get_effective_bwburst \
warn_nonlocal_ext_orports port_warn_nonlocal_ext_orports \
parse_ports_relay port_parse_ports_relay \
update_port_set_relay port_update_port_set_relay \
get_transport_bindaddr_from_config pt_get_bindaddr_from_config \
get_options_for_server_transport pt_get_options_for_server_transport
It was generated with --no-verify, because it has some long lines.
Part of 32213.
Diffstat (limited to 'src/feature/dirauth/dirauth_config.c')
-rw-r--r-- | src/feature/dirauth/dirauth_config.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/feature/dirauth/dirauth_config.c b/src/feature/dirauth/dirauth_config.c index a98ece8148..552f851461 100644 --- a/src/feature/dirauth/dirauth_config.c +++ b/src/feature/dirauth/dirauth_config.c @@ -156,10 +156,10 @@ options_validate_dirauth_bandwidth(const or_options_t *old_options, if (!authdir_mode(options)) return 0; - if (ensure_bandwidth_cap(&options->AuthDirFastGuarantee, + if (config_ensure_bandwidth_cap(&options->AuthDirFastGuarantee, "AuthDirFastGuarantee", msg) < 0) return -1; - if (ensure_bandwidth_cap(&options->AuthDirGuardBWGuarantee, + if (config_ensure_bandwidth_cap(&options->AuthDirGuardBWGuarantee, "AuthDirGuardBWGuarantee", msg) < 0) return -1; |