aboutsummaryrefslogtreecommitdiff
path: root/src/or/connection_or.c
diff options
context:
space:
mode:
authorAndrea Shepard <andrea@torproject.org>2012-09-21 14:46:22 -0700
committerAndrea Shepard <andrea@torproject.org>2012-10-10 00:40:06 -0700
commitb208539b8047a12fb2f1f794c9932fddd577dfdb (patch)
tree1957c7d570f9bb2020324661b39acfe23de85609 /src/or/connection_or.c
parentc684076fc7f685d6e0cd97f426d1474749f1da8b (diff)
downloadtor-b208539b8047a12fb2f1f794c9932fddd577dfdb.tar.gz
tor-b208539b8047a12fb2f1f794c9932fddd577dfdb.zip
Use circuitmux_t in channels and when relaying cells
Diffstat (limited to 'src/or/connection_or.c')
-rw-r--r--src/or/connection_or.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/connection_or.c b/src/or/connection_or.c
index bf69711691..f143e9b76b 100644
--- a/src/or/connection_or.c
+++ b/src/or/connection_or.c
@@ -336,7 +336,7 @@ connection_or_get_num_circuits(or_connection_t *conn)
tor_assert(conn);
if (conn->chan) {
- return TLS_CHAN_TO_BASE(conn->chan)->n_circuits;
+ return channel_num_circuits(TLS_CHAN_TO_BASE(conn->chan));
} else return 0;
}