tor

The Tor anonymity network
git clone https://git.dasho.dev/tor.git
Log | Files | Refs | README | LICENSE

commit 27d34f36e07b876321a03fbb59533b72b807b679
parent 368dc1003eeb58ad11e1eb13904ef7f79ef019d1
Author: Neel Chauhan <neel@neelc.org>
Date:   Thu, 16 Nov 2017 12:37:39 -0500

Add smartlist_add() to get_lspecs_from_node)

Diffstat:
Msrc/or/hs_circuit.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/or/hs_circuit.c b/src/or/hs_circuit.c @@ -617,6 +617,7 @@ get_lspecs_from_node(const node_t *node, smartlist_t *lspecs) link_specifier_set_un_ipv6_port(ls, ap.port); /* Sixteen bytes IPv6 and two bytes port. */ link_specifier_set_ls_len(ls, addr_len + sizeof(ap.port)); + smartlist_add(lspecs, ls); } }