diff options
author | Nick Mathewson <nickm@torproject.org> | 2013-08-21 12:37:35 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2013-08-22 10:15:57 -0400 |
commit | 8920fc545738393fc8320b61bac897f67a66e6c9 (patch) | |
tree | 06fef01046a2b1c765531a1ee47eebaf46193f66 /src/or/circuitlist.c | |
parent | 79cad08b4f9afd13a7151b8e15ae6481df82478f (diff) | |
download | tor-8920fc545738393fc8320b61bac897f67a66e6c9.tar.gz tor-8920fc545738393fc8320b61bac897f67a66e6c9.zip |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/circuitlist.c b/src/or/circuitlist.c index 50caf370d9..bb74594ecd 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; } |