diff options
author | Andrea Shepard <andrea@torproject.org> | 2014-07-25 21:41:03 -0700 |
---|---|---|
committer | Andrea Shepard <andrea@torproject.org> | 2014-07-25 21:41:03 -0700 |
commit | b8b46e8ef847c0683fab00783fb64bef0c6f83c6 (patch) | |
tree | ac6685e52c73e51acbe05eb14dece77583d9ebc9 /src/or/entrynodes.c | |
parent | 18c97ad8bc85b9c0a0b3cac088f719f7e261c60b (diff) | |
download | tor-b8b46e8ef847c0683fab00783fb64bef0c6f83c6.tar.gz tor-b8b46e8ef847c0683fab00783fb64bef0c6f83c6.zip |
Add some mocks needed to unit test ClientTransportPlugin/ServerTransportPlugin config line parsing
Diffstat (limited to 'src/or/entrynodes.c')
-rw-r--r-- | src/or/entrynodes.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/entrynodes.c b/src/or/entrynodes.c index 4d09195796..8f105c7844 100644 --- a/src/or/entrynodes.c +++ b/src/or/entrynodes.c @@ -1884,8 +1884,8 @@ bridge_resolve_conflicts(const tor_addr_t *addr, uint16_t port, /** Return True if we have a bridge that uses a transport with name * <b>transport_name</b>. */ -int -transport_is_needed(const char *transport_name) +MOCK_IMPL(int, +transport_is_needed, (const char *transport_name)) { if (!bridge_list) return 0; |