summaryrefslogtreecommitdiff
path: root/src/or/channel.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-09-06 15:37:09 -0400
committerNick Mathewson <nickm@torproject.org>2017-09-22 08:55:53 -0400
commitceb49c1c5f2556c7fcd5b1ff34d8988344fa2ba7 (patch)
tree6a960f9deb6f84284dbbb97daa16de8742da69d1 /src/or/channel.c
parentd1e0e486e9eafa7ba44e3ed49ce1b92fec9c7201 (diff)
downloadtor-ceb49c1c5f2556c7fcd5b1ff34d8988344fa2ba7.tar.gz
tor-ceb49c1c5f2556c7fcd5b1ff34d8988344fa2ba7.zip
Use channel_is_client() accessor in channelpadding.c.
Also, allow channel_is_client() to take a const channel.
Diffstat (limited to 'src/or/channel.c')
-rw-r--r--src/or/channel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/channel.c b/src/or/channel.c
index ea113903af..fa704e0426 100644
--- a/src/or/channel.c
+++ b/src/or/channel.c
@@ -4075,7 +4075,7 @@ channel_mark_bad_for_new_circs(channel_t *chan)
*/
int
-channel_is_client(channel_t *chan)
+channel_is_client(const channel_t *chan)
{
tor_assert(chan);