diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-10-06 20:55:28 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-10-06 20:55:28 +0000 |
commit | 61c39c60565b386e0e12ea669556b030e8cd7180 (patch) | |
tree | 59109aeab8297bdc996faca8c4e38ec7426c36cf /src/util/bandwidth.c | |
parent | 780eb09dd8040ecf8649d40ddf8314464e0fc48e (diff) | |
download | gnunet-61c39c60565b386e0e12ea669556b030e8cd7180.tar.gz gnunet-61c39c60565b386e0e12ea669556b030e8cd7180.zip |
-remove trailing whitespace
Diffstat (limited to 'src/util/bandwidth.c')
-rw-r--r-- | src/util/bandwidth.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/util/bandwidth.c b/src/util/bandwidth.c index 5caaec03c..79497ad51 100644 --- a/src/util/bandwidth.c +++ b/src/util/bandwidth.c | |||
@@ -254,7 +254,7 @@ GNUNET_BANDWIDTH_tracker_get_delay (struct GNUNET_BANDWIDTH_Tracker *av, | |||
254 | 254 | ||
255 | if (av->available_bytes_per_s__ == 0) | 255 | if (av->available_bytes_per_s__ == 0) |
256 | { | 256 | { |
257 | LOG (GNUNET_ERROR_TYPE_DEBUG, | 257 | LOG (GNUNET_ERROR_TYPE_DEBUG, |
258 | "Tracker %p delay is infinity\n", av); | 258 | "Tracker %p delay is infinity\n", av); |
259 | return GNUNET_TIME_UNIT_FOREVER_REL; | 259 | return GNUNET_TIME_UNIT_FOREVER_REL; |
260 | } | 260 | } |
@@ -270,9 +270,9 @@ GNUNET_BANDWIDTH_tracker_get_delay (struct GNUNET_BANDWIDTH_Tracker *av, | |||
270 | ret.rel_value_us = | 270 | ret.rel_value_us = |
271 | (1000LL * 1000LL * bytes_needed) / | 271 | (1000LL * 1000LL * bytes_needed) / |
272 | (unsigned long long) av->available_bytes_per_s__; | 272 | (unsigned long long) av->available_bytes_per_s__; |
273 | LOG (GNUNET_ERROR_TYPE_DEBUG, | 273 | LOG (GNUNET_ERROR_TYPE_DEBUG, |
274 | "Tracker %p delay for %u bytes is %s\n", | 274 | "Tracker %p delay for %u bytes is %s\n", |
275 | av, (unsigned int) size, | 275 | av, (unsigned int) size, |
276 | GNUNET_STRINGS_relative_time_to_string (ret, GNUNET_YES)); | 276 | GNUNET_STRINGS_relative_time_to_string (ret, GNUNET_YES)); |
277 | return ret; | 277 | return ret; |
278 | } | 278 | } |
@@ -321,7 +321,7 @@ GNUNET_BANDWIDTH_tracker_update_quota (struct GNUNET_BANDWIDTH_Tracker *av, | |||
321 | uint32_t new_limit; | 321 | uint32_t new_limit; |
322 | 322 | ||
323 | new_limit = ntohl (bytes_per_second_limit.value__); | 323 | new_limit = ntohl (bytes_per_second_limit.value__); |
324 | LOG (GNUNET_ERROR_TYPE_DEBUG, | 324 | LOG (GNUNET_ERROR_TYPE_DEBUG, |
325 | "Tracker %p bandwidth changed to %u Bps\n", av, | 325 | "Tracker %p bandwidth changed to %u Bps\n", av, |
326 | (unsigned int) new_limit); | 326 | (unsigned int) new_limit); |
327 | update_tracker (av); | 327 | update_tracker (av); |