diff options
author | Andrea Shepard <andrea@torproject.org> | 2014-01-21 02:49:21 -0800 |
---|---|---|
committer | Andrea Shepard <andrea@torproject.org> | 2014-09-30 23:09:14 -0700 |
commit | ade60890d013e8af25f432cca97193bdc8659701 (patch) | |
tree | 2b30713ca2570720624c91765ef55f5f7d1d14f4 /src/or/scheduler.c | |
parent | bef11b715637ad28f6c8802adf6893e050c05d0a (diff) | |
download | tor-ade60890d013e8af25f432cca97193bdc8659701.tar.gz tor-ade60890d013e8af25f432cca97193bdc8659701.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 8a6620b049..367480cb31 100644 --- a/src/or/scheduler.c +++ b/src/or/scheduler.c @@ -275,8 +275,8 @@ scheduler_channel_doesnt_want_writes,(channel_t *chan)) /** Mark a channel as having waiting cells */ -void -scheduler_channel_has_waiting_cells(channel_t *chan) +MOCK_IMPL(void, +scheduler_channel_has_waiting_cells,(channel_t *chan)) { int became_pending = 0; |