summaryrefslogtreecommitdiff
path: root/src/or/routerlist.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-10-02 15:04:28 +0200
committerNick Mathewson <nickm@torproject.org>2015-10-02 15:04:28 +0200
commit21c201202effaa18ba591ca96043ec9489566e0c (patch)
tree63ca73de5c1f682e2f19575674866586b3029e7e /src/or/routerlist.c
parent7bd22474830c839b53c4e4ab68d572806993c52f (diff)
parent4ff08bb5811ddfe554e597d129ec48a774364480 (diff)
downloadtor-21c201202effaa18ba591ca96043ec9489566e0c.tar.gz
tor-21c201202effaa18ba591ca96043ec9489566e0c.zip
Merge remote-tracking branch 'twstrike/dir-handle-cmd-get'
Diffstat (limited to 'src/or/routerlist.c')
-rw-r--r--src/or/routerlist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index 03729bda5c..694a148a5e 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -5190,8 +5190,8 @@ hid_serv_acting_as_directory(void)
/** Return true if this node is responsible for storing the descriptor ID
* in <b>query</b> and false otherwise. */
-int
-hid_serv_responsible_for_desc_id(const char *query)
+MOCK_IMPL(int, hid_serv_responsible_for_desc_id,
+ (const char *query))
{
const routerinfo_t *me;
routerstatus_t *last_rs;