summaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2012-11-30 13:56:10 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2012-11-30 13:56:10 -0700
commit15edba9ab0c50cbd5ee8654c6a0383052d66838f (patch)
tree60366475aa0503d1786fe6bc5c9d8faf0e58bcc9 /file.c
parent1bc4aba8e7aa819a235a57f8fc228f74f1fb414d (diff)
downloadsubsurface-15edba9ab0c50cbd5ee8654c6a0383052d66838f.tar.gz
Remove the hack to mark parsed XML files as downloaded
This was necessary for the Uemis downloader when we used the SDA file format as intermediary data format and imported that as XML buffer. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'file.c')
-rw-r--r--file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/file.c b/file.c
index ac5bf2790..ecbc53df8 100644
--- a/file.c
+++ b/file.c
@@ -72,7 +72,7 @@ static void suunto_read(struct zip_file *file, GError **error)
size = read * 3 / 2;
mem = realloc(mem, size);
}
- parse_xml_buffer(_("SDE file"), mem, read, FALSE, error);
+ parse_xml_buffer(_("SDE file"), mem, read, error);
free(mem);
}
#endif
@@ -246,7 +246,7 @@ static void parse_file_buffer(const char *filename, struct memblock *mem, GError
if (fmt && open_by_filename(filename, fmt+1, mem, error))
return;
- parse_xml_buffer(filename, mem->buffer, mem->size, FALSE, error);
+ parse_xml_buffer(filename, mem->buffer, mem->size, error);
}
void parse_file(const char *filename, GError **error, gboolean possible_default_filename)