aboutsummaryrefslogtreecommitdiff
path: root/src/or/channel.c
diff options
context:
space:
mode:
authorvagrant <vagrant@precise32.(none)>2013-08-21 11:44:28 -0400
committerNick Mathewson <nickm@torproject.org>2013-08-22 10:15:56 -0400
commit4834641dce809fbb6fd4a586a823446970d19c1d (patch)
tree21808e3e34994b1e4255f3b7a106820a65ec2469 /src/or/channel.c
parent7121e7bd15659052ccf42e554ae959a75cfacb45 (diff)
downloadtor-4834641dce809fbb6fd4a586a823446970d19c1d.tar.gz
tor-4834641dce809fbb6fd4a586a823446970d19c1d.zip
Make circ_times static and add accessor functions.
Change the global circ_times to a static variable and use accessor functions throughout the code, instead of accessing it directly.
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 48bbf7902a..8743437297 100644
--- a/src/or/channel.c
+++ b/src/or/channel.c
@@ -2361,7 +2361,7 @@ channel_do_open_actions(channel_t *chan)
started_here = channel_is_outgoing(chan);
if (started_here) {
- circuit_build_times_network_is_live(&circ_times);
+ circuit_build_times_network_is_live(get_circuit_build_times());
rep_hist_note_connect_succeeded(chan->identity_digest, now);
if (entry_guard_register_connect_status(
chan->identity_digest, 1, 0, now) < 0) {