[tor-commits] [tor/maint-0.4.2] hibernate: Fix repeated "bytes" in comment

teor at torproject.org teor at torproject.org
Sun Oct 20 12:10:31 UTC 2019


commit 02e3e8eda5d0e3d02bd578511b4bb1a5179a1379
Author: teor <teor at torproject.org>
Date:   Sun Oct 20 22:08:23 2019 +1000

    hibernate: Fix repeated "bytes" in comment
---
 src/feature/hibernate/hibernate.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/feature/hibernate/hibernate.c b/src/feature/hibernate/hibernate.c
index d3a1d2309..f7847d9a1 100644
--- a/src/feature/hibernate/hibernate.c
+++ b/src/feature/hibernate/hibernate.c
@@ -815,7 +815,7 @@ hibernate_soft_limit_reached(void)
    * We want to stop accepting connections when ALL of the following are true:
    *   - We expect to use up the remaining bytes in under 3 hours
    *   - We have used up 95% of our bytes.
-   *   - We have less than 500MBytes of bytes left.
+   *   - We have less than 500MBytes left.
    */
   uint64_t soft_limit = (uint64_t) (acct_max * SOFT_LIM_PCT);
   if (acct_max > SOFT_LIM_BYTES && acct_max - SOFT_LIM_BYTES > soft_limit) {



More information about the tor-commits mailing list