aboutsummaryrefslogtreecommitdiff
path: root/src/or/circuitbuild.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2005-12-31 06:37:34 +0000
committerRoger Dingledine <arma@torproject.org>2005-12-31 06:37:34 +0000
commit1a11b97b15484051fc41f0090cf2d79aba82a6c6 (patch)
tree5495fc9b11ba04953338d63c3e92db0b4e5abb89 /src/or/circuitbuild.c
parent5947388968fc43f6963e4bb0d1caa59f2a0d3d77 (diff)
downloadtor-1a11b97b15484051fc41f0090cf2d79aba82a6c6.tar
tor-1a11b97b15484051fc41f0090cf2d79aba82a6c6.tar.gz
get rid of the special case for 'testing' circuits
svn:r5684
Diffstat (limited to 'src/or/circuitbuild.c')
-rw-r--r--src/or/circuitbuild.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c
index 10bd72c24..32eb87892 100644
--- a/src/or/circuitbuild.c
+++ b/src/or/circuitbuild.c
@@ -1494,8 +1494,7 @@ choose_good_entry_server(uint8_t purpose, cpath_build_state_t *state)
smartlist_t *excluded = smartlist_create();
or_options_t *options = get_options();
- if (state && options->UseEntryNodes &&
- purpose != CIRCUIT_PURPOSE_TESTING) {
+ if (state && options->UseEntryNodes) {
return choose_random_entry(state);
}