diff options
author | Karsten Loesing <karsten.loesing@gmx.net> | 2009-08-19 15:41:12 +0200 |
---|---|---|
committer | Karsten Loesing <karsten.loesing@gmx.net> | 2009-08-19 15:41:12 +0200 |
commit | 4e29f3342754fa8802c364b58f7b2f98e983a291 (patch) | |
tree | f570d879362bf688ab1da6290689d1d099656df1 /src/or/circuitlist.c | |
parent | 10fbc998e146b271508066e7680cb0cd00a70c63 (diff) | |
download | tor-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.c | 2 |
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); |