From a8252d94b869ae9265dc281c55f2136182ce252b Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Sat, 28 Nov 2015 20:21:16 +0100 Subject: [PATCH] csv plugin: remove trailing whitespace --- src/csv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/csv.c b/src/csv.c index d2d388bc..7b513e73 100644 --- 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) -- 2.30.2