]> git.ipfire.org Git - thirdparty/tor.git/commit
Remove current_consensus macro.
authorNick Mathewson <nickm@torproject.org>
Tue, 20 Sep 2016 14:52:20 +0000 (10:52 -0400)
committerNick Mathewson <nickm@torproject.org>
Wed, 21 Sep 2016 19:13:19 +0000 (15:13 -0400)
commit2196c7ad6496ae699667af65eb289950f8fe5dbb
treec46f75ae31fb0fd1dd5c7d5841a93e68ddce22cd
parentf6d7b71719db2e158b28f21d6f4a3861d860b3b0
Remove current_consensus macro.

It's a macro that calls down to a function whose behavior has been
getting progresively more complicated.... but we named it as if it
were a variable.  That's not so smart.  So, replace it with a
function call to a function that was just doing "return
current_consensus".

Fixes bug 20176.
src/or/networkstatus.c