aboutsummaryrefslogtreecommitdiff
path: root/src/or/circuitbuild.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2008-06-10 23:00:11 +0000
committerRoger Dingledine <arma@torproject.org>2008-06-10 23:00:11 +0000
commit45cc25c0196aea33bfd207123cf2e128114dafd2 (patch)
treedef4da10fb16bf5eba771fb3582e3227780b2a94 /src/or/circuitbuild.c
parent67a1658da505035c007d7bc7800e395777889a8e (diff)
downloadtor-45cc25c0196aea33bfd207123cf2e128114dafd2.tar.gz
tor-45cc25c0196aea33bfd207123cf2e128114dafd2.zip
minor fixes and notes
svn:r15111
Diffstat (limited to 'src/or/circuitbuild.c')
-rw-r--r--src/or/circuitbuild.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c
index 2875222c76..9f09b67944 100644
--- a/src/or/circuitbuild.c
+++ b/src/or/circuitbuild.c
@@ -1917,7 +1917,7 @@ entry_is_live(entry_guard_t *e, int need_uptime, int need_capacity,
if (e->bad_since)
return NULL;
/* no good if it's unreachable, unless assume_unreachable or can_retry. */
- if ((!assume_reachable && !e->can_retry) &&
+ if (!assume_reachable && !e->can_retry &&
e->unreachable_since && !entry_is_time_to_retry(e, time(NULL)))
return NULL;
r = router_get_by_digest(e->identity);