From 6b2a678e530f828597bb602fa03b8e87d60563df Mon Sep 17 00:00:00 2001 From: Linas Vepstas Date: Mon, 31 Dec 2001 01:16:04 +0000 Subject: [PATCH] update debug statements git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6440 57a11ea4-9604-0410-9ed3-97b8803252fd --- src/backend/file/sixtp-dom-parsers.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backend/file/sixtp-dom-parsers.c b/src/backend/file/sixtp-dom-parsers.c index d0ddd10fea..9c694915d1 100644 --- a/src/backend/file/sixtp-dom-parsers.c +++ b/src/backend/file/sixtp-dom-parsers.c @@ -792,7 +792,7 @@ gnc_xml_set_data(const gchar* tag, xmlNodePtr node, gpointer item, if(!handlers->tag) { - PERR("Unhandled tag: %s\n", + PERR("Unhandled tag: %s", tag ? tag : "(null)"); return FALSE; } @@ -825,7 +825,7 @@ dom_tree_generic_parse(xmlNodePtr node, struct dom_tree_handler *handlers, if(!dom_tree_handlers_all_gotten_p(handlers)) { - PERR("missing tag in input"); + PERR("didn't find all of the expected tags in the input"); successful = FALSE; }