]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Update description of onion_extend_cpath() (#27333)
authortraumschule <traumschuleriebau@riseup.net>
Sun, 16 Sep 2018 02:01:17 +0000 (04:01 +0200)
committertraumschule <traumschuleriebau@riseup.net>
Sun, 16 Sep 2018 02:01:17 +0000 (04:01 +0200)
src/core/or/circuitbuild.c

index cf2af4b66d1ae84bfa3a3ddfa65cbbf9a75e94b7..b1dcfb8536271879a30a3f7ec771ba29a2022bbf 100644 (file)
@@ -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.