aboutsummaryrefslogtreecommitdiff
path: root/src/or/routerlist.c
diff options
context:
space:
mode:
authorReinaldo de Souza Jr <juniorz@gmail.com>2015-09-07 12:22:33 -0500
committerReinaldo de Souza Jr <juniorz@gmail.com>2015-09-15 11:08:50 -0500
commit4ff08bb5811ddfe554e597d129ec48a774364480 (patch)
treeff8661a350d4d53d1ec3d7d51725453e2295909c /src/or/routerlist.c
parenta444b11323799536b4cd7902e29f711b0806293a (diff)
downloadtor-4ff08bb5811ddfe554e597d129ec48a774364480.tar.gz
tor-4ff08bb5811ddfe554e597d129ec48a774364480.zip
Add tests for directory_handle_command_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 8bd80391bc..9c9054091e 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -5184,8 +5184,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;