From 6d2898607bd831944c6c15b6e15200a426149811 Mon Sep 17 00:00:00 2001 From: George Kadianakis Date: Thu, 12 Apr 2012 22:42:37 +0200 Subject: Fix issues found by nickm. * Document fmt_addr_impl() and friends. * Parenthesize macro arguments. * Rename get_first_listener_addrport_for_pt() to get_first_listener_addrport_string(). * Handle port_cfg_t with no_listen. * Handle failure of router_get_active_listener_port_by_type(). * Add an XXX to router_get_active_listener_port_by_type(). --- src/or/config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/or/config.h') diff --git a/src/or/config.h b/src/or/config.h index fd84d9b606..0495186514 100644 --- a/src/or/config.h +++ b/src/or/config.h @@ -72,7 +72,7 @@ int get_first_advertised_port_by_type_af(int listener_type, #define get_primary_dir_port() \ (get_first_advertised_port_by_type_af(CONN_TYPE_DIR_LISTENER, AF_INET)) -char *get_first_listener_addrport_for_pt(int listener_type); +char *get_first_listener_addrport_string(int listener_type); int options_need_geoip_info(const or_options_t *options, const char **reason_out); -- cgit v1.2.3-54-g00ecf