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 0b34687..96c1e3e 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);
        }