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

[tor-commits] [tor/master] Update description of onion_extend_cpath() (#27333)



commit 863e2fcb4877a2efc005465edf21e90a1b02d42f
Author: traumschule <traumschuleriebau@xxxxxxxxxx>
Date:   Sun Sep 16 04:01:17 2018 +0200

    Update description of onion_extend_cpath() (#27333)
---
 src/core/or/circuitbuild.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/core/or/circuitbuild.c b/src/core/or/circuitbuild.c
index cf2af4b66..b1dcfb853 100644
--- a/src/core/or/circuitbuild.c
+++ b/src/core/or/circuitbuild.c
@@ -2650,8 +2650,8 @@ onion_next_hop_in_cpath(crypt_path_t *cpath)
   return NULL;
 }
 
-/** Choose a suitable next hop in the cpath <b>head_ptr</b>,
- * based on <b>state</b>. Append the hop info to head_ptr.
+/** Choose a suitable next hop for the circuit <b>circ</b>.
+ * Append the hop info to circ->cpath.
  *
  * Return 1 if the path is complete, 0 if we successfully added a hop,
  * and -1 on error.



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