mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Tweaks to the Uemis debugging code
Make it less verbose to make it easier to follow the progress along. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
fb60143d35
commit
a32f3857cb
2 changed files with 21 additions and 10 deletions
|
@ -1680,12 +1680,12 @@ static GError *setup_uemis_import(device_data_t *data)
|
|||
|
||||
error = uemis_download(data->devname, &uemis_max_dive_data, &buf, &data->progress, data->force_download);
|
||||
if (buf && strlen(buf) > 1) {
|
||||
#ifdef DEBUGFILE
|
||||
#if UEMIS_DEBUG > 3
|
||||
fprintf(debugfile, "xml buffer \"%s\"\n\n", buf);
|
||||
#endif
|
||||
parse_xml_buffer("Uemis Download", buf, strlen(buf), &error);
|
||||
set_uemis_last_dive(uemis_max_dive_data);
|
||||
#if UEMIS_DEBUG
|
||||
#if UEMIS_DEBUG > 2
|
||||
fprintf(debugfile, "uemis_max_dive_data: %s\n", uemis_max_dive_data);
|
||||
#endif
|
||||
mark_divelist_changed(TRUE);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue