summaryrefslogtreecommitdiff
path: root/src/or/circuitlist.c
diff options
context:
space:
mode:
authorKarsten Loesing <karsten.loesing@gmx.net>2009-08-19 15:41:12 +0200
committerKarsten Loesing <karsten.loesing@gmx.net>2009-08-19 15:41:12 +0200
commit4e29f3342754fa8802c364b58f7b2f98e983a291 (patch)
treef570d879362bf688ab1da6290689d1d099656df1 /src/or/circuitlist.c
parent10fbc998e146b271508066e7680cb0cd00a70c63 (diff)
downloadtor-4e29f3342754fa8802c364b58f7b2f98e983a291.tar.gz
tor-4e29f3342754fa8802c364b58f7b2f98e983a291.zip
Write all statistics to disk exactly every 24 hours.
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 04b1d8edb3..065559620c 100644
--- a/src/or/circuitlist.c
+++ b/src/or/circuitlist.c
@@ -449,7 +449,7 @@ circuit_free(circuit_t *circ)
or_circuit_t *ocirc = TO_OR_CIRCUIT(circ);
/* Remember cell statistics for this circuit before deallocating. */
if (get_options()->CellStatistics)
- add_circ_to_buffer_stats(circ, time(NULL));
+ rep_hist_buffer_stats_add_circ(circ, time(NULL));
mem = ocirc;
memlen = sizeof(or_circuit_t);
tor_assert(circ->magic == OR_CIRCUIT_MAGIC);