From 1096f7638e883f9a6dfc86b9804090f090afb68f Mon Sep 17 00:00:00 2001 From: rl1987 Date: Thu, 8 Oct 2015 21:47:52 +0300 Subject: A second test case for dns_resolve_impl. --- src/or/router.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/or/router.c') 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; -- cgit v1.2.3-54-g00ecf