[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit c38157be9d8fc7de9c6fc0c58e3bc8481a1d48a4
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
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;



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits