summaryrefslogtreecommitdiff
path: root/src/or/circuituse.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-11-29 14:31:24 -0500
committerNick Mathewson <nickm@torproject.org>2016-12-16 11:06:19 -0500
commitf4e64c04f49a3cd8c9b2289bd28641db85441acc (patch)
tree82a1b9fa5934e260c590bc6d7b0f6baf8e67dfa1 /src/or/circuituse.c
parent6c3f555a8c4d33b8f9dcdc55c03bee8170feb65f (diff)
downloadtor-f4e64c04f49a3cd8c9b2289bd28641db85441acc.tar.gz
tor-f4e64c04f49a3cd8c9b2289bd28641db85441acc.zip
Remove some resolved "XXXX prop271" comments.
Diffstat (limited to 'src/or/circuituse.c')
-rw-r--r--src/or/circuituse.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/circuituse.c b/src/or/circuituse.c
index 698b158457..787c490387 100644
--- a/src/or/circuituse.c
+++ b/src/or/circuituse.c
@@ -1652,9 +1652,10 @@ circuit_build_failed(origin_circuit_t *circ)
"Our circuit died before the first hop with no connection");
}
if (n_chan_id && !already_marked) {
+ /* New guard API: we failed. */
if (circ->guard_state)
entry_guard_failed(&circ->guard_state);
- /* XXXX prop271 -- old API */
+ /* Old guard API: we failed. */
entry_guard_register_connect_status(n_chan_id, 0, 1, time(NULL));
/* if there are any one-hop streams waiting on this circuit, fail
* them now so they can retry elsewhere. */