From 6a6f824caa532d9484f1cd0984f9e4347efb030c Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sat, 30 Apr 2016 16:15:51 -0700 Subject: [PATCH] Fix typo Otherwise this code makes no sense (and has no effect). Signed-off-by: Dirk Hohndel --- file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/file.c b/file.c index 88e752e2d..e82b3a79c 100644 --- a/file.c +++ b/file.c @@ -909,7 +909,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));