[or-cvs] get rid of the special case for "testing" circuits

arma at seul.org arma at seul.org
Sat Dec 31 06:37:37 UTC 2005


Update of /home2/or/cvsroot/tor/src/or
In directory moria:/home/arma/work/onion/cvs/tor/src/or

Modified Files:
	circuitbuild.c 
Log Message:
get rid of the special case for 'testing' circuits


Index: circuitbuild.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/circuitbuild.c,v
retrieving revision 1.198
retrieving revision 1.199
diff -u -p -d -r1.198 -r1.199
--- circuitbuild.c	31 Dec 2005 06:32:57 -0000	1.198
+++ circuitbuild.c	31 Dec 2005 06:37:34 -0000	1.199
@@ -1494,8 +1494,7 @@ choose_good_entry_server(uint8_t purpose
   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);
   }
 



More information about the tor-commits mailing list