diff options
author | Nick Mathewson <nickm@torproject.org> | 2008-02-19 19:30:37 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2008-02-19 19:30:37 +0000 |
commit | b98c437fcc98a3e756706f3acbe419293e5c5a7f (patch) | |
tree | 5ea0a642b88ebf2db9e8dbfb1086dc8402bad21c /src/or/circuitbuild.c | |
parent | ab4d3888e42368010efe4d03bc5b5d65501f566f (diff) | |
download | tor-b98c437fcc98a3e756706f3acbe419293e5c5a7f.tar.gz tor-b98c437fcc98a3e756706f3acbe419293e5c5a7f.zip |
r18195@catbus: nickm | 2008-02-19 14:11:15 -0500
TOR_PERF has not not been a sane thing for ages. Remove it.
svn:r13579
Diffstat (limited to 'src/or/circuitbuild.c')
-rw-r--r-- | src/or/circuitbuild.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c index c639b843ff..aef1442aad 100644 --- a/src/or/circuitbuild.c +++ b/src/or/circuitbuild.c @@ -1039,15 +1039,12 @@ new_route_len(uint8_t purpose, extend_info_t *exit, tor_assert(routers); -#ifdef TOR_PERF - routelen = 2; -#else routelen = 3; if (exit && purpose != CIRCUIT_PURPOSE_TESTING && purpose != CIRCUIT_PURPOSE_S_ESTABLISH_INTRO) routelen++; -#endif + log_debug(LD_CIRC,"Chosen route length %d (%d routers available).", routelen, smartlist_len(routers)); |