From f91f16a4b6ab1eaed58cae638324953c8006cfbf Mon Sep 17 00:00:00 2001 From: Miika Turkia Date: Sun, 7 Jan 2018 09:02:55 +0200 Subject: Dummy parse empty dives Easiest way to get dives without profiles in, is to just parse empty csv tags. Signed-off-by: Miika Turkia --- core/import-csv.c | 1 + 1 file changed, 1 insertion(+) diff --git a/core/import-csv.c b/core/import-csv.c index 3af424315..5a687b0bd 100644 --- a/core/import-csv.c +++ b/core/import-csv.c @@ -137,6 +137,7 @@ int parse_dan_format(const char *filename, char **params, int pnr) /* We got a trailer, no samples on this dive */ if (strncmp(iter, "ZDT", 3) == 0) { end_ptr = iter - (char *)mem.buffer; + ret |= parse_xml_buffer(filename, "", 11, &dive_table, (const char **)params); continue; } -- cgit v1.2.3-70-g09d2