aboutsummaryrefslogtreecommitdiff
path: root/src/or/nodelist.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-03-28 14:21:04 -0400
committerNick Mathewson <nickm@torproject.org>2018-03-28 14:21:04 -0400
commite0bbef48bf414574a9e1342accfd2fe0d2a5343e (patch)
tree9314e2fc17465f2cdc98e5157f647a2836e7422a /src/or/nodelist.c
parent3cc382b93e6ae55b86c50463493507c6d01250cd (diff)
parentab16f1e2a10ee1b95118ec266ba454697e9af012 (diff)
downloadtor-e0bbef48bf414574a9e1342accfd2fe0d2a5343e.tar.gz
tor-e0bbef48bf414574a9e1342accfd2fe0d2a5343e.zip
Merge remote-tracking branch 'dgoulet/bug24767_033_03' into 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 125dd8b9f1..3a26aee611 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))