summaryrefslogtreecommitdiffstats
path: root/gtk-gui.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2012-11-19 14:08:14 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2012-11-19 15:04:59 -0800
commita32f3857cbcece71aeda2a12e13858233c8fffb8 (patch)
tree05d784c3987a6d2f0dbbc2bb4717d514e0fa0f11 /gtk-gui.c
parentfb60143d350221a1ef1454127ee506637dff5cfa (diff)
downloadsubsurface-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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk-gui.c b/gtk-gui.c
index 497de5fe0..8cb4d0779 100644
--- a/gtk-gui.c
+++ b/gtk-gui.c
@@ -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);