diff options
author | Reinaldo de Souza Jr <juniorz@gmail.com> | 2015-09-07 12:22:33 -0500 |
---|---|---|
committer | Reinaldo de Souza Jr <juniorz@gmail.com> | 2015-09-15 11:08:50 -0500 |
commit | 4ff08bb5811ddfe554e597d129ec48a774364480 (patch) | |
tree | ff8661a350d4d53d1ec3d7d51725453e2295909c /src/or/routerlist.c | |
parent | a444b11323799536b4cd7902e29f711b0806293a (diff) | |
download | tor-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.c | 4 |
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; |