diff options
author | Mike Perry <mikeperry-git@fscked.org> | 2012-10-25 17:43:10 -0700 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-12-07 10:34:09 -0500 |
commit | 42e3c04a7a5fb47a97766e54c72885c5c2bf23a9 (patch) | |
tree | 8152658f1006592a3b35d88e8fcf7d1c4ae9ad0f /src/or/entrynodes.c | |
parent | bd93ff8dd76b06ca3afe1f362b086d4f12639f71 (diff) | |
download | tor-42e3c04a7a5fb47a97766e54c72885c5c2bf23a9.tar.gz tor-42e3c04a7a5fb47a97766e54c72885c5c2bf23a9.zip |
Bug 3443: Don't count ORconn setup in circuit build time.
Also, add a hack Roger suggested where we're more patient if no circuits are
opened yet.
Diffstat (limited to 'src/or/entrynodes.c')
-rw-r--r-- | src/or/entrynodes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/entrynodes.c b/src/or/entrynodes.c index edb26dc088..8712241f62 100644 --- a/src/or/entrynodes.c +++ b/src/or/entrynodes.c @@ -219,7 +219,7 @@ entry_is_live(entry_guard_t *e, int need_uptime, int need_capacity, } /** Return the number of entry guards that we think are usable. */ -static int +int num_live_entry_guards(void) { int n = 0; |