[tor-commits] [tor/maint-0.3.2] clarify a comment

nickm at torproject.org nickm at torproject.org
Thu Dec 21 15:27:44 UTC 2017


commit c38157be9d8fc7de9c6fc0c58e3bc8481a1d48a4
Author: Nick Mathewson <nickm at torproject.org>
Date:   Thu Dec 21 10:27:37 2017 -0500

    clarify a comment
---
 src/or/scheduler_kist.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/or/scheduler_kist.c b/src/or/scheduler_kist.c
index a50be345b..19a8db517 100644
--- a/src/or/scheduler_kist.c
+++ b/src/or/scheduler_kist.c
@@ -286,8 +286,8 @@ update_socket_info_impl, (socket_table_ent_t *ent))
      * more in the kernel for now. */
     ent->limit = 0;
   } else {
-    /* Adding two positive int64_t together will always fit in an uint64_t.
-     * And we know this will always be positive. */
+    /* The positive sum of two int64_t will always fit into an uint64_t.
+     * And we know this will always be positive, since we checked above. */
     ent->limit = (uint64_t)tcp_space + (uint64_t)extra_space;
   }
   return;



More information about the tor-commits mailing list