diff options
author | David Goulet <dgoulet@torproject.org> | 2020-07-21 15:15:06 -0400 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2020-07-21 15:51:48 -0400 |
commit | a4c5b7d7421b9f02d479e4471b527ee3b9285d8c (patch) | |
tree | 18fef74dc50f21b879e2cf5fffd6dfc9140ae302 /src/feature/relay/relay_config.c | |
parent | 28c1b6047649dad62d269e6c2fde40f41cb9834a (diff) | |
download | tor-a4c5b7d7421b9f02d479e4471b527ee3b9285d8c.tar.gz tor-a4c5b7d7421b9f02d479e4471b527ee3b9285d8c.zip |
Rename check_server_ports to check_and_prune_server_ports
This is an automated commit, generated by this command:
./scripts/maint/rename_c_identifier.py \
check_server_ports check_and_prune_server_ports
Diffstat (limited to 'src/feature/relay/relay_config.c')
-rw-r--r-- | src/feature/relay/relay_config.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/feature/relay/relay_config.c b/src/feature/relay/relay_config.c index c8a30d63d1..9273a7cef0 100644 --- a/src/feature/relay/relay_config.c +++ b/src/feature/relay/relay_config.c @@ -222,7 +222,7 @@ remove_duplicate_orports(smartlist_t *ports) * *<b>n_low_ports_out</b> to the number of sub-1024 ports we will be * binding, and warn if we may be unable to re-bind after hibernation. */ static int -check_server_ports(smartlist_t *ports, +check_and_prune_server_ports(smartlist_t *ports, const or_options_t *options, int *n_low_ports_out) { @@ -382,7 +382,7 @@ port_parse_ports_relay(or_options_t *options, goto err; } - if (check_server_ports(ports, options, &n_low_ports) < 0) { + if (check_and_prune_server_ports(ports, options, &n_low_ports) < 0) { *msg = tor_strdup("Misconfigured server ports"); goto err; } |