From 0c804bc32888626360d7f784cbc64ab11f4cbf94 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Wed, 17 Apr 2019 18:11:36 +0200 Subject: [PATCH] csv: fix typo introduced by C++ refactoring --- lib/formats/csv.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/formats/csv.cpp b/lib/formats/csv.cpp index 671e5d501..d3133e798 100644 --- a/lib/formats/csv.cpp +++ b/lib/formats/csv.cpp @@ -229,13 +229,13 @@ __attribute__((constructor(110))) static void UNIQUE(__ctor)() { p2.name = "csv"; p2.description = "Comma-separated values"; p2.type = PLUGIN_TYPE_FORMAT; - p1.format.header = csv_header; - p1.format.sprint = csv_sprint; - p1.format.sscan = csv_sscan; - p1.format.size = 0; - p1.format.flags = IO_NEWLINES | + p2.format.header = csv_header; + p2.format.sprint = csv_sprint; + p2.format.sscan = csv_sscan; + p2.format.size = 0; + p2.format.flags = IO_NEWLINES | SAMPLE_HAS_TS_ORIGIN | SAMPLE_HAS_SEQUENCE | SAMPLE_HAS_DATA; - p1.format.separator = ','; + p2.format.separator = ','; vlist_push(&plugins, &p2); }