]> sigrok.org Git - libsigrok.git/commit
input/csv: improve robustness of "use header for channel names"
authorGerhard Sittig <redacted>
Mon, 14 Oct 2019 17:33:29 +0000 (19:33 +0200)
committerGerhard Sittig <redacted>
Sat, 21 Dec 2019 17:20:04 +0000 (18:20 +0100)
commitde8fe3b51579dd746d3cbc8aa41eea08510f2a8e
treef1cd4002198e34f55502629ee7ca660abfbd76fe
parent246aca5f5468514e0b9b7f28cf8db009e38e6952
input/csv: improve robustness of "use header for channel names"

Don't clobber the value of the user provided 'header' option. Use a
separate flag to track whether the header line was seen before, or
needs to get skipped when it passes by.
src/input/csv.c