From d795daab24e7d263a7019ae92187e8ad841a6f8f Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 8 Mar 2010 20:29:02 +0000 Subject: [PATCH] wrong if --- src/util/bandwidth.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/util/bandwidth.c b/src/util/bandwidth.c index 391c43406..52b0dd0e5 100644 --- a/src/util/bandwidth.c +++ b/src/util/bandwidth.c @@ -170,10 +170,10 @@ update_tracker (struct GNUNET_BANDWIDTH_Tracker *av) left_time_ms = left_bytes / avail_per_ms; } } - else - { - left_time_ms = 0; - } + } + else + { + left_time_ms = 0; } av->consumption_since_last_update__ = 0; av->last_update__.value = now.value - left_time_ms; -- 2.25.1