diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-10-19 14:08:55 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-10-19 14:08:55 +0000 |
commit | 24bd0eabe9599e8c3da2f86aeed49ba53d52816a (patch) | |
tree | 2a4714e4914cfaf50dc1c307859636ca0e4578b3 /src/util/bandwidth.c | |
parent | 50d9ee637d9604d52c108894cdf02f10950ebd13 (diff) | |
download | gnunet-24bd0eabe9599e8c3da2f86aeed49ba53d52816a.tar.gz gnunet-24bd0eabe9599e8c3da2f86aeed49ba53d52816a.zip |
bracket
Diffstat (limited to 'src/util/bandwidth.c')
-rw-r--r-- | src/util/bandwidth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/bandwidth.c b/src/util/bandwidth.c index ceac4d87b..a736b7607 100644 --- a/src/util/bandwidth.c +++ b/src/util/bandwidth.c | |||
@@ -288,7 +288,7 @@ GNUNET_BANDWIDTH_tracker_get_delay (struct GNUNET_BANDWIDTH_Tracker *av, | |||
288 | return GNUNET_TIME_UNIT_ZERO; | 288 | return GNUNET_TIME_UNIT_ZERO; |
289 | } | 289 | } |
290 | ret.rel_value = | 290 | ret.rel_value = |
291 | 1000LL * bytes_needed / (unsigned long long) av->available_bytes_per_s__; | 291 | (1000LL * bytes_needed) / (unsigned long long) av->available_bytes_per_s__; |
292 | #if DEBUG_BANDWIDTH | 292 | #if DEBUG_BANDWIDTH |
293 | LOG (GNUNET_ERROR_TYPE_DEBUG, | 293 | LOG (GNUNET_ERROR_TYPE_DEBUG, |
294 | "Tracker %p delay for %u bytes is %llu ms\n", av, | 294 | "Tracker %p delay for %u bytes is %llu ms\n", av, |