diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2012-11-30 13:56:10 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2012-11-30 13:56:10 -0700 |
commit | 15edba9ab0c50cbd5ee8654c6a0383052d66838f (patch) | |
tree | 60366475aa0503d1786fe6bc5c9d8faf0e58bcc9 /file.c | |
parent | 1bc4aba8e7aa819a235a57f8fc228f74f1fb414d (diff) | |
download | subsurface-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) |