diff options
author | Andrea Shepard <andrea@torproject.org> | 2014-01-22 01:00:25 -0800 |
---|---|---|
committer | Andrea Shepard <andrea@torproject.org> | 2014-09-30 23:14:02 -0700 |
commit | 5b7a58f7c43c98c1f1fbb6bc347263c5247a5ab7 (patch) | |
tree | ce3d8bf07d4e8af549d1797449c463bf64ba1c69 /src/or/circuitmux.c | |
parent | 76fcb8cb55d91aa66699266b00ff5379e3c99461 (diff) | |
download | tor-5b7a58f7c43c98c1f1fbb6bc347263c5247a5ab7.tar.gz tor-5b7a58f7c43c98c1f1fbb6bc347263c5247a5ab7.zip |
Make circuitmux_num_cells() mockable
Diffstat (limited to 'src/or/circuitmux.c')
-rw-r--r-- | src/or/circuitmux.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/circuitmux.c b/src/or/circuitmux.c index 29c3be17d5..71bc4efc4a 100644 --- a/src/or/circuitmux.c +++ b/src/or/circuitmux.c @@ -896,8 +896,8 @@ circuitmux_num_cells_for_circuit(circuitmux_t *cmux, circuit_t *circ) * Query total number of available cells on a circuitmux */ -unsigned int -circuitmux_num_cells(circuitmux_t *cmux) +MOCK_IMPL(unsigned int, +circuitmux_num_cells, (circuitmux_t *cmux)) { tor_assert(cmux); |