aboutsummaryrefslogtreecommitdiff
path: root/src/or/nodelist.c
diff options
context:
space:
mode:
authorChelsea H. Komlo <chelsea.komlo@gmail.com>2016-10-14 07:00:35 -0500
committerChelsea H. Komlo <chelsea.komlo@gmail.com>2016-11-24 08:12:30 -0500
commitafb6ae7b0fb87550c12e09e5eb7c2a09e675909d (patch)
tree528b13859fd421257f3d94800f31ca71def17134 /src/or/nodelist.c
parentb95998ef0c31c78a9952621eb1f7365ceb1d2c84 (diff)
downloadtor-afb6ae7b0fb87550c12e09e5eb7c2a09e675909d.tar.gz
tor-afb6ae7b0fb87550c12e09e5eb7c2a09e675909d.zip
Refactor circuit_predict_and_launch_new
Diffstat (limited to 'src/or/nodelist.c')
-rw-r--r--src/or/nodelist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/nodelist.c b/src/or/nodelist.c
index 2802d5b9e0..4d180dc1ab 100644
--- a/src/or/nodelist.c
+++ b/src/or/nodelist.c
@@ -1569,8 +1569,8 @@ router_have_minimum_dir_info(void)
* this can cause router_have_consensus_path() to be set to
* CONSENSUS_PATH_EXIT, even if there are no nodes with accept exit policies.
*/
-consensus_path_type_t
-router_have_consensus_path(void)
+MOCK_IMPL(consensus_path_type_t,
+router_have_consensus_path, (void))
{
return have_consensus_path;
}