projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dea5357
)
wrong if
author
Christian Grothoff
<christian@grothoff.org>
Mon, 8 Mar 2010 20:29:02 +0000
(20:29 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Mon, 8 Mar 2010 20:29:02 +0000
(20:29 +0000)
src/util/bandwidth.c
patch
|
blob
|
history
diff --git
a/src/util/bandwidth.c
b/src/util/bandwidth.c
index 391c4340649cfd74d22bed351838b42d5ddb4a89..52b0dd0e558a09b5d013eaa6947fc21d543b60ff 100644
(file)
--- 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;