diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2012-11-19 14:08:14 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2012-11-19 15:04:59 -0800 |
commit | a32f3857cbcece71aeda2a12e13858233c8fffb8 (patch) | |
tree | 05d784c3987a6d2f0dbbc2bb4717d514e0fa0f11 /gtk-gui.c | |
parent | fb60143d350221a1ef1454127ee506637dff5cfa (diff) | |
download | subsurface-a32f3857cbcece71aeda2a12e13858233c8fffb8.tar.gz |
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>
Diffstat (limited to 'gtk-gui.c')
-rw-r--r-- | gtk-gui.c | 4 |
1 files changed, 2 insertions, 2 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); |