diff options
author | Roger Dingledine <arma@torproject.org> | 2006-12-09 19:40:16 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2006-12-09 19:40:16 +0000 |
commit | f7319a0b6dae56525fa3ba1d83c212bfe39483de (patch) | |
tree | f22066c84bd72fc83e57875828e77e51b0becb65 /src/or/hibernate.c | |
parent | 32f37b3fb0aa995f954aea652fce9fe754c28f06 (diff) | |
download | tor-f7319a0b6dae56525fa3ba1d83c212bfe39483de.tar.gz tor-f7319a0b6dae56525fa3ba1d83c212bfe39483de.zip |
correction and cleanups on r9047
svn:r9060
Diffstat (limited to 'src/or/hibernate.c')
-rw-r--r-- | src/or/hibernate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/hibernate.c b/src/or/hibernate.c index 2063ccdbd2..774da51560 100644 --- a/src/or/hibernate.c +++ b/src/or/hibernate.c @@ -577,7 +577,7 @@ accounting_record_bandwidth_usage(time_t now, or_state_t *state) ROUND_UP(n_bytes_written_in_interval); state->AccountingSecondsActive = n_seconds_active_in_interval; state->AccountingExpectedUsage = expected_bandwidth_usage; - or_state_mark_dirty(state, 60); + or_state_mark_dirty(state, now+60); return r; } |