[tor-bugs] #17847 [Tor]: Unify router_pick_directory_server_impl and router_pick_trusteddirserver_impl
Tor Bug Tracker & Wiki
blackhole at torproject.org
Mon Dec 14 07:01:10 UTC 2015
#17847: Unify router_pick_directory_server_impl and
router_pick_trusteddirserver_impl
-----------------------------+---------------------------
Reporter: teor | Owner:
Type: enhancement | Status: new
Priority: Medium | Milestone: Tor: 0.2.???
Component: Tor | Version:
Severity: Normal | Keywords: easy refactor
Actual Points: | Parent ID:
Points: | Sponsor:
-----------------------------+---------------------------
router_pick_directory_server_impl and router_pick_trusteddirserver_impl
are very similar.
I wonder if we could refactor them into a single function?
(Even if we have to use a macro to do it.)
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/17847>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list