aboutsummaryrefslogtreecommitdiff
path: root/src/or/circuitbuild.c
diff options
context:
space:
mode:
authorAndrea Shepard <andrea@torproject.org>2016-09-25 02:11:44 +0000
committerAndrea Shepard <andrea@torproject.org>2016-09-25 02:11:44 +0000
commit006c26f54fc2a3c47350e9367ebb3eb340c866a1 (patch)
tree3816aad1a673a9d400a1bc604dd5d34842c85cb8 /src/or/circuitbuild.c
parentc897328feea549a391669c3fc93dc220d27e387c (diff)
downloadtor-006c26f54fc2a3c47350e9367ebb3eb340c866a1.tar.gz
tor-006c26f54fc2a3c47350e9367ebb3eb340c866a1.zip
Abolish globals in entrynodes.c; relativize guard context to new guard_selection_t structure
Diffstat (limited to 'src/or/circuitbuild.c')
-rw-r--r--src/or/circuitbuild.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c
index 12c75530e2..ff76644d1c 100644
--- a/src/or/circuitbuild.c
+++ b/src/or/circuitbuild.c
@@ -2213,7 +2213,6 @@ choose_good_entry_server(uint8_t purpose, cpath_build_state_t *state)
* This is an incomplete fix, but is no worse than the previous behaviour,
* and only applies to minimal, testing tor networks
* (so it's no less secure) */
- /*XXXX++ use the using_as_guard flag to accomplish this.*/
if (options->UseEntryGuards
&& (!options->TestingTorNetwork ||
smartlist_len(nodelist_get_list()) > smartlist_len(get_entry_guards())