From 65a922f1144a89ad9aa95a29899fc3338ad8a35a Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 26 Jul 2016 12:27:28 +0000 Subject: change time multiplication/division API to long long to avoid accidental range reduction --- src/include/gnunet_bandwidth_lib.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/include/gnunet_bandwidth_lib.h') diff --git a/src/include/gnunet_bandwidth_lib.h b/src/include/gnunet_bandwidth_lib.h index 7b63de390..178ddaaac 100644 --- a/src/include/gnunet_bandwidth_lib.h +++ b/src/include/gnunet_bandwidth_lib.h @@ -126,7 +126,7 @@ struct GNUNET_BANDWIDTH_Tracker struct GNUNET_TIME_Absolute last_update__; /** - * Bandwidth limit to enforce in bytes per s. + * Bandwidth limit to enforce in bytes per second. */ uint32_t available_bytes_per_s__; @@ -289,7 +289,7 @@ GNUNET_BANDWIDTH_tracker_consume (struct GNUNET_BANDWIDTH_Tracker *av, /** - * Compute how long we should wait until consuming 'size' + * Compute how long we should wait until consuming @a size * bytes of bandwidth in order to stay within the given * quota. * -- cgit v1.2.3