diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-12-21 10:27:39 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-12-21 10:27:39 -0500 |
commit | bcc96c77de52ae7a8e73a6b139756e17f25e148d (patch) | |
tree | c9958d7f9836aaceaddf0d4c7ed3c0e60331221f /src | |
parent | d0c5fe257be0b127681c31ac85853d747465fd09 (diff) | |
parent | c38157be9d8fc7de9c6fc0c58e3bc8481a1d48a4 (diff) | |
download | tor-bcc96c77de52ae7a8e73a6b139756e17f25e148d.tar.gz tor-bcc96c77de52ae7a8e73a6b139756e17f25e148d.zip |
Merge branch 'maint-0.3.2'
Diffstat (limited to 'src')
-rw-r--r-- | src/or/scheduler_kist.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/scheduler_kist.c b/src/or/scheduler_kist.c index 89167643a7..2f91dbc004 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; |