diff options
author | Andrea Shepard <andrea@torproject.org> | 2013-12-13 06:27:00 -0800 |
---|---|---|
committer | Andrea Shepard <andrea@torproject.org> | 2014-09-30 22:49:58 -0700 |
commit | 85ee07085281a1fa47d0b44b0addbb54fcfa6061 (patch) | |
tree | 3e6c09b202a38a41816a6a3fec6364f7e10f9e24 /src/or/scheduler.c | |
parent | 8907554cf3e4e87515fecde40ae2088fdded523f (diff) | |
download | tor-85ee07085281a1fa47d0b44b0addbb54fcfa6061.tar.gz tor-85ee07085281a1fa47d0b44b0addbb54fcfa6061.zip |
Make scheduler_release_channel() mockable
Diffstat (limited to 'src/or/scheduler.c')
-rw-r--r-- | src/or/scheduler.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/scheduler.c b/src/or/scheduler.c index 140ff2fef1..450eb02903 100644 --- a/src/or/scheduler.c +++ b/src/or/scheduler.c @@ -360,8 +360,8 @@ scheduler_retrigger(void) /** Notify the scheduler of a channel being closed */ -void -scheduler_release_channel(channel_t *chan) +MOCK_IMPL(void, +scheduler_release_channel,(channel_t *chan)) { tor_assert(chan); tor_assert(channels_pending); |