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/connection_or.c | |
parent | e17083b4328490d8785c798eb4f41f653e6548d7 (diff) | |
download | tor-d65f03091554e94ec1ceb51a607df19e9943c023.tar.gz tor-d65f03091554e94ec1ceb51a607df19e9943c023.zip |
Unit test for pick_oos_victims()
Diffstat (limited to 'src/or/connection_or.c')
-rw-r--r-- | src/or/connection_or.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |