Code

csv plugin: Use the value list's interval when outputting to STDOUT.
authorSebastian Harl <sh@tokkee.org>
Tue, 30 Mar 2010 19:59:36 +0000 (21:59 +0200)
committerSebastian Harl <sh@tokkee.org>
Tue, 30 Mar 2010 19:59:36 +0000 (21:59 +0200)
src/csv.c

index 0b34687dac172b863379a89803d1a86936c9c71d..96c1e3e7aba250179d6c950abbdb12f5fc7d7def 100644 (file)
--- a/src/csv.c
+++ b/src/csv.c
@@ -299,7 +299,7 @@ static int csv_write (const data_set_t *ds, const value_list_t *vl,
 
                fprintf (use_stdio == 1 ? stdout : stderr,
                         "PUTVAL %s interval=%i %s\n",
-                        filename, interval_g, values);
+                        filename, vl->interval, values);
                return (0);
        }