summaryrefslogtreecommitdiffstats
path: root/core/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/file.c')
-rw-r--r--core/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/file.c b/core/file.c
index 85bc949fe..b9da21fb2 100644
--- a/core/file.c
+++ b/core/file.c
@@ -974,7 +974,7 @@ int parse_csv_file(const char *filename, char **params, int pnr, const char *csv
return -1;
}
mem.size = ptr - (char*)mem.buffer;
- } else {
+ } else if (strcmp(params[0], "date")) {
time(&now);
timep = localtime(&now);