summaryrefslogtreecommitdiff
path: root/src/or/hibernate.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2007-01-03 10:30:26 +0000
committerRoger Dingledine <arma@torproject.org>2007-01-03 10:30:26 +0000
commit50e36dc11b47dc96151cb345eb5e4fcbe14b465c (patch)
treed3056ce6d68fc03a4c4604d7cddcb792bcf05e82 /src/or/hibernate.c
parentd677332a83dfb04e998b50daffa822c59b380a4f (diff)
downloadtor-50e36dc11b47dc96151cb345eb5e4fcbe14b465c.tar.gz
tor-50e36dc11b47dc96151cb345eb5e4fcbe14b465c.zip
more cleanups, including a shiny new XXX012
svn:r9250
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 9a89cbf160..77109849d3 100644
--- a/src/or/hibernate.c
+++ b/src/or/hibernate.c
@@ -725,7 +725,7 @@ static int
hibernate_soft_limit_reached(void)
{
uint64_t soft_limit = DBL_TO_U64(U64_TO_DBL(get_options()->AccountingMax)
- * .95);
+ * .95);
if (!soft_limit)
return 0;
return n_bytes_read_in_interval >= soft_limit