summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f006f49)
raw | patch | inline | side by side (parent: f006f49)
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 d2d388bc9600a97d6359ab60621b9672325b1277..7b513e7345199a508fc53531187aac959784c74b 100644 (file)
--- a/src/csv.c
+++ b/src/csv.c
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)