From 82d4ffbdcd63d3c2e54d04f457ff4394f35f3c7a Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sat, 30 Apr 2016 16:15:51 -0700 Subject: Fix typo Otherwise this code makes no sense (and has no effect). Signed-off-by: Dirk Hohndel --- core/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); -- cgit v1.2.3-70-g09d2