diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-06-15 09:37:40 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-06-15 15:07:52 -0400 |
commit | 2491fff5a6fda1c1e2044d332e551907a579929d (patch) | |
tree | cc8dac418a9ae68b9e7ec717f3a8764d532584be /src/or/circuituse.c | |
parent | 8030ec4f272d470b9d01b7095f17252aaca163c2 (diff) | |
download | tor-2491fff5a6fda1c1e2044d332e551907a579929d.tar.gz tor-2491fff5a6fda1c1e2044d332e551907a579929d.zip |
Triage the XXX023 and XXX022 comments: postpone many.
Diffstat (limited to 'src/or/circuituse.c')
-rw-r--r-- | src/or/circuituse.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/circuituse.c b/src/or/circuituse.c index 7532c4e923..c34b698fa1 100644 --- a/src/or/circuituse.c +++ b/src/or/circuituse.c @@ -1475,7 +1475,7 @@ circuit_get_open_circ_or_launch(entry_connection_t *conn, return -1; } } else { - /* XXXX023 Duplicates checks in connection_ap_handshake_attach_circuit: + /* XXXX024 Duplicates checks in connection_ap_handshake_attach_circuit: * refactor into a single function? */ const node_t *node = node_get_by_nickname(conn->chosen_exit_name, 1); int opt = conn->chosen_exit_optional; @@ -1916,7 +1916,7 @@ connection_ap_handshake_attach_circuit(entry_connection_t *conn) /* find the circuit that we should use, if there is one. */ retval = circuit_get_open_circ_or_launch( conn, CIRCUIT_PURPOSE_C_GENERAL, &circ); - if (retval < 1) // XXX022 if we totally fail, this still returns 0 -RD + if (retval < 1) // XXX023 if we totally fail, this still returns 0 -RD return retval; log_debug(LD_APP|LD_CIRC, |