aboutsummaryrefslogtreecommitdiff
path: root/src/or/main.c
diff options
context:
space:
mode:
authorAndrea Shepard <andrea@torproject.org>2016-07-02 04:39:45 +0000
committerAndrea Shepard <andrea@torproject.org>2016-08-20 01:43:51 +0000
commit26c2ded00cfcf1c86ebe10a65b6de0af0e5b76c7 (patch)
treea110fe894622639b882a836914e4845c5fee9e53 /src/or/main.c
parent709f2cbf58c0acc4c84035dadc6be4846b5d3f3e (diff)
downloadtor-26c2ded00cfcf1c86ebe10a65b6de0af0e5b76c7.tar.gz
tor-26c2ded00cfcf1c86ebe10a65b6de0af0e5b76c7.zip
Unit test for connection_handle_oos()
Diffstat (limited to 'src/or/main.c')
-rw-r--r--src/or/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/main.c b/src/or/main.c
index 30041c5e2b..7f00cc3455 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -652,8 +652,8 @@ close_closeable_connections(void)
}
/** Count moribund connections for the OOS handler */
-int
-connection_count_moribund(void)
+MOCK_IMPL(int,
+connection_count_moribund, (void))
{
int i, moribund = 0;
connection_t *conn;