1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

csv: re-enable parsing of offset

This commit is contained in:
Steffen Vogel 2019-01-06 01:46:00 +01:00
parent e8e7dfbdf1
commit 0caca6d2cf

View file

@ -96,13 +96,11 @@ static size_t csv_sscan_single(struct io *io, const char *buf, size_t len, struc
smp->flags |= SAMPLE_HAS_TS_ORIGIN;
#if 0
double offset __attribute__((unused)) = strtof(ptr, &end);
if (end == ptr || *end == io->delimiter)
goto out;
ptr = end + 1;
#endif
smp->sequence = strtoul(ptr, &end, 10);
if (end == ptr || *end == io->delimiter)