aboutsummaryrefslogtreecommitdiff
path: root/src/or/hibernate.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/hibernate.c')
-rw-r--r--src/or/hibernate.c2
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;
}