aboutsummaryrefslogtreecommitdiff
path: root/src/or/nodelist.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-03-28 14:23:06 -0400
committerNick Mathewson <nickm@torproject.org>2018-03-28 14:23:06 -0400
commit794a25f8c11971cf71f472820c2d3cd6a0f29b94 (patch)
treefa430f7df69e0f273a731312e0f53326fb2bc73d /src/or/nodelist.c
parenta3c1d78c29a6827f623c83ca8f45798019206bc9 (diff)
parente0bbef48bf414574a9e1342accfd2fe0d2a5343e (diff)
downloadtor-794a25f8c11971cf71f472820c2d3cd6a0f29b94.tar.gz
tor-794a25f8c11971cf71f472820c2d3cd6a0f29b94.zip
Merge branch 'maint-0.3.3'
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 991781d92b..71eee3fa21 100644
--- a/src/or/nodelist.c
+++ b/src/or/nodelist.c
@@ -161,8 +161,8 @@ init_nodelist(void)
}
/** As node_get_by_id, but returns a non-const pointer */
-node_t *
-node_get_mutable_by_id(const char *identity_digest)
+MOCK_IMPL(node_t *,
+node_get_mutable_by_id,(const char *identity_digest))
{
node_t search, *node;
if (PREDICT_UNLIKELY(the_nodelist == NULL))