Otherwise this code makes no sense (and has no effect).

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2016-04-30 16:15:51 -07:00
parent 241dd7cb81
commit 82d4ffbdcd

View file

@ -962,7 +962,7 @@ int parse_csv_file(const char *filename, char **params, int pnr, const char *csv
if (ptr)
ptr = strstr(ptr, NL);
if (ptr)
ptr + strlen(NL);
ptr += strlen(NL);
/* Move the CSV data to the start of mem buffer */
memmove(mem.buffer, ptr, mem.size - (ptr - (char*)mem.buffer));