diff options
author | Andrea Shepard <andrea@torproject.org> | 2013-12-18 15:31:54 -0800 |
---|---|---|
committer | Andrea Shepard <andrea@torproject.org> | 2014-09-30 22:54:10 -0700 |
commit | fd57840a778f591fa175a1933c0b619741010bd1 (patch) | |
tree | 09b68cc34bf14c07577ff78afcbe2070c942c0cf /src/or/scheduler.c | |
parent | e00fde17975810d7cc420fb185dd84591f89b7a5 (diff) | |
download | tor-fd57840a778f591fa175a1933c0b619741010bd1.tar.gz tor-fd57840a778f591fa175a1933c0b619741010bd1.zip |
Make scheduler_channel_doesnt_want_writes() 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 450eb02903..8a6620b049 100644 --- a/src/or/scheduler.c +++ b/src/or/scheduler.c @@ -235,8 +235,8 @@ scheduler_evt_callback(evutil_socket_t fd, short events, void *arg) /** Mark a channel as no longer ready to accept writes */ -void -scheduler_channel_doesnt_want_writes(channel_t *chan) +MOCK_IMPL(void, +scheduler_channel_doesnt_want_writes,(channel_t *chan)) { tor_assert(chan); |