csv plugin: remove trailing whitespace
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Sat, 28 Nov 2015 19:21:16 +0000 (20:21 +0100)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Sat, 28 Nov 2015 19:21:16 +0000 (20:21 +0100)
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)