aboutsummaryrefslogtreecommitdiff
path: root/src/or/statefile.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2013-08-21 12:10:05 -0400
committerNick Mathewson <nickm@torproject.org>2013-08-22 10:15:56 -0400
commit775c491502e43f0490023b2917c4e1a05b38b5b8 (patch)
treefcde4b10787c0bbcf983f3811f5f4c45693aa21a /src/or/statefile.c
parente1c9b43b8efbc76ab3a6decf47d6d1ef1967ef77 (diff)
downloadtor-775c491502e43f0490023b2917c4e1a05b38b5b8.tar.gz
tor-775c491502e43f0490023b2917c4e1a05b38b5b8.zip
Separate mutable/const accessors for circuit_build_times
(These have proved invaluable for other global accessors.)
Diffstat (limited to 'src/or/statefile.c')
-rw-r--r--src/or/statefile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/statefile.c b/src/or/statefile.c
index 4b61fde39c..db9091ca27 100644
--- a/src/or/statefile.c
+++ b/src/or/statefile.c
@@ -239,7 +239,7 @@ or_state_set(or_state_t *new_state)
ret = -1;
}
if (circuit_build_times_parse_state(
- get_circuit_build_times(),global_state) < 0) {
+ get_circuit_build_times_mutable(),global_state) < 0) {
ret = -1;
}
return ret;