Remove consensus_max_download_tries by refactoring
commitab0a7e2961378ff0fb7f5061d6b1cdeebe7afa98
authorteor (Tim Wilson-Brown) <teor2345@gmail.com>
Wed, 18 May 2016 22:07:40 +0000 (18 18:07 -0400)
committerNick Mathewson <nickm@torproject.org>
Thu, 19 May 2016 11:58:40 +0000 (19 07:58 -0400)
treea8880c899a4d9db76582198d8e512d3d2322113e
parent8dc8d712260a16eb9811b57abd4928081316f495
Remove consensus_max_download_tries by refactoring

No behaviour change

This function is used twice. The code is simpler if we split
it up and inline it where it is used.
src/or/networkstatus.c