From 01ffe8e2f4ca24325e81f040e1ac3a5a17afa5d5 Mon Sep 17 00:00:00 2001 From: David Goulet Date: Wed, 25 Apr 2018 13:41:04 -0400 Subject: config: Move any_client_port_set() to config.c This functions is now used outside of networkstatus.c and makes more sense to be in config.c. It is also renamed to options_any_client_port_set() for the config.c namespace. No code behavior change. Signed-off-by: David Goulet --- src/or/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/or/main.c') diff --git a/src/or/main.c b/src/or/main.c index c3505a2d91..6cda56b3cb 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -1497,7 +1497,7 @@ get_my_roles(const or_options_t *options) int roles = 0; int is_bridge = options->BridgeRelay; - int is_client = any_client_port_set(options); + int is_client = options_any_client_port_set(options); int is_relay = server_mode(options); int is_dirauth = authdir_mode_v3(options); int is_bridgeauth = authdir_mode_bridge(options); -- cgit v1.2.3-54-g00ecf