mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
1bc4aba8e7
commit
15edba9ab0
3 changed files with 4 additions and 7 deletions
4
file.c
4
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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue