summaryrefslogtreecommitdiff
path: root/src/or/router.c
diff options
context:
space:
mode:
authorrl1987 <rl1987@sdf.lonestar.org>2015-10-08 21:47:52 +0300
committerrl1987 <rl1987@sdf.lonestar.org>2015-10-24 14:30:50 +0300
commit1096f7638e883f9a6dfc86b9804090f090afb68f (patch)
treeb2a14e29e16ae358c4aae1555c443c887d1d7d93 /src/or/router.c
parent2fc841aacbfdb0e824ab3bed9e06db8d9c793747 (diff)
downloadtor-1096f7638e883f9a6dfc86b9804090f090afb68f.tar.gz
tor-1096f7638e883f9a6dfc86b9804090f090afb68f.zip
A second test case for dns_resolve_impl.
Diffstat (limited to 'src/or/router.c')
-rw-r--r--src/or/router.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/router.c b/src/or/router.c
index 9c6204c729..1790416cf6 100644
--- a/src/or/router.c
+++ b/src/or/router.c
@@ -1714,8 +1714,8 @@ router_compare_to_my_exit_policy(const tor_addr_t *addr, uint16_t port)
/** Return true iff my exit policy is reject *:*. Return -1 if we don't
* have a descriptor */
-int
-router_my_exit_policy_is_reject_star(void)
+MOCK_IMPL(int,
+router_my_exit_policy_is_reject_star,(void))
{
if (!router_get_my_routerinfo()) /* make sure desc_routerinfo exists */
return -1;