diff options
author | Andrea Shepard <andrea@torproject.org> | 2014-01-22 03:51:22 -0800 |
---|---|---|
committer | Andrea Shepard <andrea@torproject.org> | 2014-09-30 23:14:23 -0700 |
commit | 452bce6c7200600d4810f490ba5cc1c93d49cc96 (patch) | |
tree | a22f877d2af33ff38977f148fe80490de1bf4fcb /src/or/channel.h | |
parent | 5a24ff0563ed916abffcde083019d23142197fdf (diff) | |
download | tor-452bce6c7200600d4810f490ba5cc1c93d49cc96.tar.gz tor-452bce6c7200600d4810f490ba5cc1c93d49cc96.zip |
Make channel_dump_statistics() mockable
Diffstat (limited to 'src/or/channel.h')
-rw-r--r-- | src/or/channel.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/channel.h b/src/or/channel.h index ba6d66b350..07a66ebcda 100644 --- a/src/or/channel.h +++ b/src/or/channel.h @@ -506,7 +506,7 @@ channel_t * channel_next_with_digest(channel_t *chan); */ const char * channel_describe_transport(channel_t *chan); -void channel_dump_statistics(channel_t *chan, int severity); +MOCK_DECL(void, channel_dump_statistics, (channel_t *chan, int severity)); void channel_dump_transport_statistics(channel_t *chan, int severity); const char * channel_get_actual_remote_descr(channel_t *chan); const char * channel_get_actual_remote_address(channel_t *chan); |