summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-09-18 08:15:02 -0400
committerNick Mathewson <nickm@torproject.org>2018-09-18 08:15:02 -0400
commit92528146463e6e5bfbc5821dfdded67e5ea27f45 (patch)
tree336015b596d64f4046c67a58d8b907edb8a3d58e /src/core
parent5ef998fbf5472fcaa9be8fae2b2dcaf8485dd4c2 (diff)
parent863e2fcb4877a2efc005465edf21e90a1b02d42f (diff)
downloadtor-92528146463e6e5bfbc5821dfdded67e5ea27f45.tar.gz
tor-92528146463e6e5bfbc5821dfdded67e5ea27f45.zip
Merge remote-tracking branch 'tor-github/pr/344'
Diffstat (limited to 'src/core')
-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.