diff options
Diffstat (limited to 'core/import-csv.c')
-rw-r--r-- | core/import-csv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/import-csv.c b/core/import-csv.c index 34ac1348b..84ab627c2 100644 --- a/core/import-csv.c +++ b/core/import-csv.c @@ -178,7 +178,7 @@ static int parse_dan_format(const char *filename, struct xml_params *params, str memset(tmpbuf, 0, sizeof(tmpbuf)); iter = strchr(iter, '|'); - if (iter && iter + 1) { + if (iter && iter[1]) { iter = iter + 1; iter_end = strchr(iter, '|'); |