From 1527cd0d05f01dda47bf3634e872580a40000702 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Fri, 13 Feb 2015 12:44:42 -0800 Subject: More useful debug prints Signed-off-by: Dirk Hohndel --- parse-xml.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/parse-xml.c b/parse-xml.c index 55744d275..5c5346c09 100644 --- a/parse-xml.c +++ b/parse-xml.c @@ -1466,12 +1466,10 @@ static void dive_site_start(void) if (cur_dive_site) return; cur_dive_site = calloc(1, sizeof(struct dive_site)); - fprintf(stderr, "allocated cur_dive_site\n"); } static void dive_site_end(void) { - fprintf(stderr, "done with dive_site\n"); if (!cur_dive_site) return; if (cur_dive_site->uuid) { @@ -1480,6 +1478,8 @@ static void dive_site_end(void) ds->uuid = cur_dive_site->uuid; ds->notes = cur_dive_site->notes; ds->description = cur_dive_site->description; + if (verbose > 3) + printf("completed dive site uuid %x8 name {%s}\n", ds->uuid, ds->name); } free(cur_dive_site); cur_dive_site = NULL; -- cgit v1.2.3-70-g09d2