[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] Add smartlist_add() to get_lspecs_from_node)



commit 27d34f36e07b876321a03fbb59533b72b807b679
Author: Neel Chauhan <neel@xxxxxxxxx>
Date:   Thu Nov 16 12:37:39 2017 -0500

    Add smartlist_add() to get_lspecs_from_node)
---
 src/or/hs_circuit.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/or/hs_circuit.c b/src/or/hs_circuit.c
index 26fe22eb7..9e7709504 100644
--- 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);
   }
 }
 



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits