From: Ruben Kerkhof Date: Sat, 28 Nov 2015 19:21:16 +0000 (+0100) Subject: csv plugin: remove trailing whitespace X-Git-Tag: collectd-5.6.0~559^2 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a8252d94b869ae9265dc281c55f2136182ce252b;p=collectd.git csv plugin: remove trailing whitespace --- 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)