aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortraumschule <traumschuleriebau@riseup.net>2018-09-16 04:01:17 +0200
committertraumschule <traumschuleriebau@riseup.net>2018-09-16 04:01:17 +0200
commit863e2fcb4877a2efc005465edf21e90a1b02d42f (patch)
tree1b872fe9ff7eec6563db7c48237b52c8a0ee9aa0 /src
parent035166e7bf30645f6da9d39374f5e9c9efe867f8 (diff)
downloadtor-863e2fcb4877a2efc005465edf21e90a1b02d42f.tar.gz
tor-863e2fcb4877a2efc005465edf21e90a1b02d42f.zip
Update description of onion_extend_cpath() (#27333)
Diffstat (limited to 'src')
-rw-r--r--src/core/or/circuitbuild.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/or/circuitbuild.c b/src/core/or/circuitbuild.c
index cf2af4b66d..b1dcfb8536 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.