[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] [tor/master 4/6] How many seconds until != timestamp of that date
Author: Sebastian Hahn <sebastian@xxxxxxxxxxxxxx>
Date: Wed, 15 Sep 2010 21:13:17 +0200
Subject: How many seconds until != timestamp of that date
Commit: bc081c254afaac4203037653850befb0b114171d
---
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 5f14eb2..8f72c69 100644
--- a/src/or/hibernate.c
+++ b/src/or/hibernate.c
@@ -634,7 +634,7 @@ read_bandwidth_usage(void)
if (state->AccountingSoftLimitHitAt > interval_start_time) {
soft_limit_hit_at = state->AccountingSoftLimitHitAt;
n_bytes_at_soft_limit = state->AccountingBytesAtSoftLimit;
- n_seconds_to_hit_soft_limit = state->AccountingSoftLimitHitAt;
+ n_seconds_to_hit_soft_limit = state->AccountingSecondsToReachSoftLimit;
} else {
soft_limit_hit_at = 0;
n_bytes_at_soft_limit = 0;
--
1.7.1