aboutsummaryrefslogtreecommitdiff
path: root/src/or/circuitbuild.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-12-03 16:32:29 +0000
committerNick Mathewson <nickm@torproject.org>2005-12-03 16:32:29 +0000
commit1b0134dda8d877f8917f86cf8d3b42fa41ffb625 (patch)
tree18c1e2aecb8bb3f029af2e90a9c06d5385babeea /src/or/circuitbuild.c
parent61c5a9ae2b02c5bfafc3c1aaf8ceaeadfbcee96d (diff)
downloadtor-1b0134dda8d877f8917f86cf8d3b42fa41ffb625.tar.gz
tor-1b0134dda8d877f8917f86cf8d3b42fa41ffb625.zip
Clean up some comments; remove some dead code
svn:r5493
Diffstat (limited to 'src/or/circuitbuild.c')
-rw-r--r--src/or/circuitbuild.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c
index 67bdfff8c2..f542804d20 100644
--- a/src/or/circuitbuild.c
+++ b/src/or/circuitbuild.c
@@ -411,8 +411,9 @@ circuit_n_conn_done(connection_t *or_conn, int status)
continue;
}
debug(LD_CIRC,"Found circ %d, sending create cell.", circ->n_circ_id);
- /* circuit_deliver_create_cell will set n_circ_id and add us to the
- * index. */
+ /* circuit_deliver_create_cell will set n_circ_id and add us to
+ * orconn_circuid_circuit_map, so we don't need to call
+ * set_circid_orconn here. */
circ->n_conn = or_conn;
memcpy(circ->n_conn_id_digest, or_conn->identity_digest, DIGEST_LEN);
if (CIRCUIT_IS_ORIGIN(circ)) {