From d65f03091554e94ec1ceb51a607df19e9943c023 Mon Sep 17 00:00:00 2001 From: Andrea Shepard Date: Sat, 2 Jul 2016 08:02:47 +0000 Subject: Unit test for pick_oos_victims() --- src/or/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/or/main.c') diff --git a/src/or/main.c b/src/or/main.c index 7f00cc3455..18c09487c3 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -381,8 +381,8 @@ connection_in_array(connection_t *conn) /** Set *array to an array of all connections. *array must not * be modified. */ -smartlist_t * -get_connection_array(void) +MOCK_IMPL(smartlist_t *, +get_connection_array, (void)) { if (!connection_array) connection_array = smartlist_new(); -- cgit v1.2.3-54-g00ecf