]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
hibernate: Fix repeated "bytes" in comment
authorteor <teor@torproject.org>
Sun, 20 Oct 2019 12:08:23 +0000 (22:08 +1000)
committerteor <teor@torproject.org>
Sun, 20 Oct 2019 12:08:23 +0000 (22:08 +1000)
src/feature/hibernate/hibernate.c

index d3a1d230958395d54cbfb80732c756b7c727358e..f7847d9a166ba75bfa0c6ee5d54e6f0cd338a062 100644 (file)
@@ -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) {