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/connection_or.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/or/connection_or.c') diff --git a/src/or/connection_or.c b/src/or/connection_or.c index 1f0c4bdef5..72d8e13e90 100644 --- a/src/or/connection_or.c +++ b/src/or/connection_or.c @@ -394,8 +394,8 @@ connection_or_change_state(or_connection_t *conn, uint8_t state) * be an or_connection_t field, but it got moved to channel_t and we * shouldn't maintain two copies. */ -int -connection_or_get_num_circuits(or_connection_t *conn) +MOCK_IMPL(int, +connection_or_get_num_circuits, (or_connection_t *conn)) { tor_assert(conn); -- cgit v1.2.3-54-g00ecf