diff options
author | Neel Chauhan <neel@neelc.org> | 2018-02-06 08:13:55 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-02-16 08:20:33 -0500 |
commit | c2fa743806accfbb119c925fbd8466b0f48b7ef7 (patch) | |
tree | e43d46e032ac455a51464b8d46b2075669282dd8 /src/or/nodelist.h | |
parent | 200fc8c640341dde657bd5162b9468cbd07d2938 (diff) | |
download | tor-c2fa743806accfbb119c925fbd8466b0f48b7ef7.tar.gz tor-c2fa743806accfbb119c925fbd8466b0f48b7ef7.zip |
Remove the return value of node_get_prim_orport() and node_get_prim_dirport()
Diffstat (limited to 'src/or/nodelist.h')
-rw-r--r-- | src/or/nodelist.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/nodelist.h b/src/or/nodelist.h index dc20eaf0a5..ff26c8cc76 100644 --- a/src/or/nodelist.h +++ b/src/or/nodelist.h @@ -77,11 +77,11 @@ int node_has_ipv6_dirport(const node_t *node); /* Deprecated - use node_ipv6_or_preferred or node_ipv6_dir_preferred */ #define node_ipv6_preferred(node) node_ipv6_or_preferred(node) int node_ipv6_or_preferred(const node_t *node); -int node_get_prim_orport(const node_t *node, tor_addr_port_t *ap_out); +void node_get_prim_orport(const node_t *node, tor_addr_port_t *ap_out); void node_get_pref_orport(const node_t *node, tor_addr_port_t *ap_out); void node_get_pref_ipv6_orport(const node_t *node, tor_addr_port_t *ap_out); int node_ipv6_dir_preferred(const node_t *node); -int node_get_prim_dirport(const node_t *node, tor_addr_port_t *ap_out); +void node_get_prim_dirport(const node_t *node, tor_addr_port_t *ap_out); void node_get_pref_dirport(const node_t *node, tor_addr_port_t *ap_out); void node_get_pref_ipv6_dirport(const node_t *node, tor_addr_port_t *ap_out); int node_has_curve25519_onion_key(const node_t *node); |