wrong if
authorChristian Grothoff <christian@grothoff.org>
Mon, 8 Mar 2010 20:29:02 +0000 (20:29 +0000)
committerChristian Grothoff <christian@grothoff.org>
Mon, 8 Mar 2010 20:29:02 +0000 (20:29 +0000)
src/util/bandwidth.c

index 391c4340649cfd74d22bed351838b42d5ddb4a89..52b0dd0e558a09b5d013eaa6947fc21d543b60ff 100644 (file)
@@ -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;