projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
caf8a03
)
Merge "fix xff excessive rounding" into collectd-4.10
author
Florian Forster
<octo@collectd.org>
Fri, 26 Aug 2011 12:37:25 +0000
(14:37 +0200)
committer
Gerrit Code Review
<gerrit2@huhu.verplant.org>
Fri, 26 Aug 2011 12:37:25 +0000
(14:37 +0200)
src/utils_rrdcreate.c
patch
|
blob
|
history
diff --git
a/src/utils_rrdcreate.c
b/src/utils_rrdcreate.c
index
66bb27e
..
47bf9f6
100644
(file)
--- a/
src/utils_rrdcreate.c
+++ b/
src/utils_rrdcreate.c
@@
-153,7
+153,7
@@
static int rra_get (char ***ret, const value_list_t *vl, /* {{{ */
if (rra_num >= rra_max)
break;
- status = ssnprintf (buffer, sizeof (buffer), "RRA:%s:%
3.1
f:%u:%u",
+ status = ssnprintf (buffer, sizeof (buffer), "RRA:%s:%
.10
f:%u:%u",
rra_types[j], cfg->xff, cdp_len, cdp_num);
if ((status < 0) || ((size_t) status >= sizeof (buffer)))