aboutsummaryrefslogtreecommitdiff
path: root/src/or/connection.c
diff options
context:
space:
mode:
authorrl1987 <rl1987@sdf.lonestar.org>2015-07-22 16:46:44 +0300
committerrl1987 <rl1987@sdf.lonestar.org>2015-08-23 16:02:39 +0300
commit77a5ca901f148d39973343c7916ca7fb27fab2fb (patch)
tree626b9afcb1a3910611e9f900f3970e90728c59d1 /src/or/connection.c
parent494dea70063125c5ab78b45e91d24def47efac5a (diff)
downloadtor-77a5ca901f148d39973343c7916ca7fb27fab2fb.tar.gz
tor-77a5ca901f148d39973343c7916ca7fb27fab2fb.zip
Unit test dns_resolve(), dns_clip_ttl(), dns_get_expiry_ttl().
Diffstat (limited to 'src/or/connection.c')
-rw-r--r--src/or/connection.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/connection.c b/src/or/connection.c
index ac36578069..78176d3768 100644
--- a/src/or/connection.c
+++ b/src/or/connection.c
@@ -654,8 +654,8 @@ connection_free_(connection_t *conn)
/** Make sure <b>conn</b> isn't in any of the global conn lists; then free it.
*/
-void
-connection_free(connection_t *conn)
+MOCK_IMPL(void,
+connection_free,(connection_t *conn))
{
if (!conn)
return;