summaryrefslogtreecommitdiff
path: root/src/or/connection.c
diff options
context:
space:
mode:
authorAndrea Shepard <andrea@torproject.org>2016-07-02 05:42:09 +0000
committerAndrea Shepard <andrea@torproject.org>2016-08-20 01:43:52 +0000
commite17083b4328490d8785c798eb4f41f653e6548d7 (patch)
tree62d7687f3da3c9aa157afa881d5cb90a580c3b2e /src/or/connection.c
parent26c2ded00cfcf1c86ebe10a65b6de0af0e5b76c7 (diff)
downloadtor-e17083b4328490d8785c798eb4f41f653e6548d7.tar.gz
tor-e17083b4328490d8785c798eb4f41f653e6548d7.zip
Unit test for kill_conn_list_for_oos()
Diffstat (limited to 'src/or/connection.c')
-rw-r--r--src/or/connection.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/or/connection.c b/src/or/connection.c
index 844ab40b6e..09b4733234 100644
--- a/src/or/connection.c
+++ b/src/or/connection.c
@@ -754,9 +754,9 @@ connection_mark_for_close_(connection_t *conn, int line, const char *file)
* For all other cases, use connection_mark_and_flush() instead, which
* checks for or_connection_t properly, instead. See below.
*/
-void
-connection_mark_for_close_internal_(connection_t *conn,
- int line, const char *file)
+MOCK_IMPL(void,
+connection_mark_for_close_internal_, (connection_t *conn,
+ int line, const char *file))
{
assert_connection_ok(conn,0);
tor_assert(line);