diff options
author | Andrea Shepard <andrea@torproject.org> | 2016-07-02 08:02:47 +0000 |
---|---|---|
committer | Andrea Shepard <andrea@torproject.org> | 2016-08-20 01:43:52 +0000 |
commit | d65f03091554e94ec1ceb51a607df19e9943c023 (patch) | |
tree | 9ae122b8ab519881033a4aaee780d5886ed8a4b9 /src/or/main.c | |
parent | e17083b4328490d8785c798eb4f41f653e6548d7 (diff) | |
download | tor-d65f03091554e94ec1ceb51a607df19e9943c023.tar.gz tor-d65f03091554e94ec1ceb51a607df19e9943c023.zip |
Unit test for pick_oos_victims()
Diffstat (limited to 'src/or/main.c')
-rw-r--r-- | src/or/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 <b>*array</b> to an array of all connections. <b>*array</b> 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(); |