diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-02-13 12:44:42 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-02-13 14:45:38 -0800 |
commit | 1527cd0d05f01dda47bf3634e872580a40000702 (patch) | |
tree | 49559d18fe6f2c960cc1eaf1f45a2e86870e0bd1 /parse-xml.c | |
parent | 2607fea2de9f3158c7f292c4195746b9becee615 (diff) | |
download | subsurface-1527cd0d05f01dda47bf3634e872580a40000702.tar.gz |
More useful debug prints
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'parse-xml.c')
-rw-r--r-- | parse-xml.c | 4 |
1 files 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; |