projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f006f49
)
csv plugin: remove trailing whitespace
author
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Sat, 28 Nov 2015 19:21:16 +0000
(20:21 +0100)
committer
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Sat, 28 Nov 2015 19:21:16 +0000
(20:21 +0100)
src/csv.c
patch
|
blob
|
history
diff --git
a/src/csv.c
b/src/csv.c
index
d2d388b
..
7b513e7
100644
(file)
--- a/
src/csv.c
+++ b/
src/csv.c
@@
-69,11
+69,11
@@
static int value_list_to_string (char *buffer, int buffer_len,
return (-1);
}
- if (ds->ds[i].type == DS_TYPE_GAUGE)
+ if (ds->ds[i].type == DS_TYPE_GAUGE)
{
status = ssnprintf (buffer + offset, buffer_len - offset,
",%lf", vl->values[i].gauge);
- }
+ }
else if (store_rates != 0)
{
if (rates == NULL)