From 4834641dce809fbb6fd4a586a823446970d19c1d Mon Sep 17 00:00:00 2001 From: vagrant Date: Wed, 21 Aug 2013 11:44:28 -0400 Subject: 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. --- src/or/entrynodes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/or/entrynodes.c') diff --git a/src/or/entrynodes.c b/src/or/entrynodes.c index cadc70ec7..b3764a941 100644 --- a/src/or/entrynodes.c +++ b/src/or/entrynodes.c @@ -2279,6 +2279,6 @@ entry_guards_free_all(void) clear_bridge_list(); smartlist_free(bridge_list); bridge_list = NULL; - circuit_build_times_free_timeouts(&circ_times); + circuit_build_times_free_timeouts(get_circuit_build_times()); } -- cgit v1.2.3