]> git.ipfire.org Git - thirdparty/tor.git/commit
Refactor TestingDirAuthVote* into dirserv_set_routerstatus_testing
authorteor <teor2345@gmail.com>
Fri, 14 Aug 2015 02:09:00 +0000 (12:09 +1000)
committerteor <teor2345@gmail.com>
Tue, 18 Aug 2015 04:54:40 +0000 (14:54 +1000)
commitd1c94dcbea76d4ddd8ccf6c2c94f2fe99ea570e2
tree71f0ea1c136a3f5c69a6aefafb95096f7881f98a
parent359faf5e4b4a88663201c2b42dd89a6f77569856
Refactor TestingDirAuthVote* into dirserv_set_routerstatus_testing

Make it easier to unit test TestingDirAuthVote{Exit,Guard,HSDir}
by refactoring the code which sets flags based on them into a
new function dirserv_set_routerstatus_testing.
src/or/dirserv.c
src/or/dirserv.h