]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
clarify a comment
authorNick Mathewson <nickm@torproject.org>
Thu, 21 Dec 2017 15:27:37 +0000 (10:27 -0500)
committerNick Mathewson <nickm@torproject.org>
Thu, 21 Dec 2017 15:27:37 +0000 (10:27 -0500)
src/or/scheduler_kist.c

index a50be345b0b30aa97f2530429bada39c2d8fec3c..19a8db51703d980929320050989292c4e5adca7d 100644 (file)
@@ -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;