aboutsummaryrefslogtreecommitdiff
path: root/src/or/circuitlist.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2013-08-21 12:37:35 -0400
committerNick Mathewson <nickm@torproject.org>2013-08-22 10:15:57 -0400
commit8920fc545738393fc8320b61bac897f67a66e6c9 (patch)
tree06fef01046a2b1c765531a1ee47eebaf46193f66 /src/or/circuitlist.c
parent79cad08b4f9afd13a7151b8e15ae6481df82478f (diff)
downloadtor-8920fc545738393fc8320b61bac897f67a66e6c9.tar
tor-8920fc545738393fc8320b61bac897f67a66e6c9.tar.gz
Hide the contents of the circuit_build_times structure.
There were only two functions outside of circuitstats that actually wanted to know what was inside this. Making the structure itself hidden should help isolation and prevent us from spaghettifying the thing more.
Diffstat (limited to 'src/or/circuitlist.c')
-rw-r--r--src/or/circuitlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/circuitlist.c b/src/or/circuitlist.c
index 50caf370d..bb74594ec 100644
--- a/src/or/circuitlist.c
+++ b/src/or/circuitlist.c
@@ -678,7 +678,7 @@ origin_circuit_new(void)
init_circuit_base(TO_CIRCUIT(circ));
- get_circuit_build_times_mutable()->last_circ_at = approx_time();
+ circuit_build_times_update_last_circ(get_circuit_build_times_mutable());
return circ;
}