diff options
author | rl1987 <rl1987@sdf.lonestar.org> | 2015-10-08 21:47:52 +0300 |
---|---|---|
committer | rl1987 <rl1987@sdf.lonestar.org> | 2015-10-24 14:30:50 +0300 |
commit | 1096f7638e883f9a6dfc86b9804090f090afb68f (patch) | |
tree | b2a14e29e16ae358c4aae1555c443c887d1d7d93 /src/or/router.c | |
parent | 2fc841aacbfdb0e824ab3bed9e06db8d9c793747 (diff) | |
download | tor-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.c | 4 |
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; |