git.samba.org
/
ddiss
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a3913f
)
Adapt renormalize to Samba coding conventions
author
Volker Lendecke
<vl@samba.org>
Wed, 10 Aug 2011 17:46:00 +0000
(19:46 +0200)
committer
Volker Lendecke
<vl@samba.org>
Wed, 10 Aug 2011 17:56:10 +0000
(19:56 +0200)
lib/ccan/tally/tally.c
patch
|
blob
|
history
diff --git
a/lib/ccan/tally/tally.c
b/lib/ccan/tally/tally.c
index 4ece2364c308d86173fab8bed7fa548c0591dd5f..4c5e37e9e05d9eb256569573863e8e18714430be 100644
(file)
--- a/
lib/ccan/tally/tally.c
+++ b/
lib/ccan/tally/tally.c
@@
-88,8
+88,9
@@
static void renormalize(struct tally *tally,
unsigned int i, old_min;
/* Uninitialized? Don't do anything... */
- if (tally->max < tally->min)
+ if (tally->max < tally->min)
{
goto update;
+ }
/* If we don't have sufficient range, increase step bits until
* buckets cover entire range of ssize_t anyway. */