]> git.ipfire.org Git - thirdparty/tor.git/commit
if we have enough usable guards, just pick one
authorRoger Dingledine <arma@torproject.org>
Tue, 27 Sep 2011 21:35:31 +0000 (17:35 -0400)
committerRoger Dingledine <arma@torproject.org>
Tue, 27 Sep 2011 21:35:31 +0000 (17:35 -0400)
commite98c9a1bf6e64a641fd904cbef58b1e46da89e91
tree0199ec93ac4636bddca6a901b6b8ec8e2c94f0ef
parent88516f65c9753d6ec60dd7cb0c28c3ff91fdb101
if we have enough usable guards, just pick one

we don't need to check whether we don't have enough guards right after
concluding that we do have enough.

slight efficiency fix suggested by an anonymous fellow on irc.
src/or/circuitbuild.c