diff options
author | George Kadianakis <desnacked@riseup.net> | 2012-04-12 22:42:37 +0200 |
---|---|---|
committer | George Kadianakis <desnacked@riseup.net> | 2012-04-12 22:42:37 +0200 |
commit | 6d2898607bd831944c6c15b6e15200a426149811 (patch) | |
tree | e0b2baee164b62b85c89c24aefdfaddee37252ec /src/or/config.h | |
parent | b03f90b5383744593dc1e83fc5834c965573a4dc (diff) | |
download | tor-6d2898607bd831944c6c15b6e15200a426149811.tar.gz tor-6d2898607bd831944c6c15b6e15200a426149811.zip |
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().
Diffstat (limited to 'src/or/config.h')
-rw-r--r-- | src/or/config.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); |