diff options
-rw-r--r-- | core/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/file.c b/core/file.c index 4c0ae8fd0..b30bcd55e 100644 --- a/core/file.c +++ b/core/file.c @@ -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)); |