summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2021-03-16 17:43:51 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2021-03-16 17:43:51 (EDT)
commit024f90bb8a3771aa4f2c142687d6421060b5f987 (patch)
tree5d8061ba23c4c8440491766dde7a2e1d8ffaf26b
parent4bb88b24696e222bf2729bbf68f113f2fcf635f2 (diff)
downloaddodge-balls-024f90bb8a3771aa4f2c142687d6421060b5f987.zip
dodge-balls-024f90bb8a3771aa4f2c142687d6421060b5f987.tar.gz
dodge-balls-024f90bb8a3771aa4f2c142687d6421060b5f987.tar.bz2
db_games_find(): Print XML char data
-rw-r--r--src/game.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game.c b/src/game.c
index 29168cd..12e8519 100644
--- a/src/game.c
+++ b/src/game.c
@@ -79,8 +79,6 @@ _db_game_xml_cdata(void *pv, const char *s, int len)
char *s_z_trimmed_end;
char *old_data;
- db_dbg( "[CDATA]");
-
p = (XML_Parser) pv;
game = db_xml_node_peek(p);
if (game->xml_parsing == DB_GAME_XML_PARSING_NAME) {
@@ -91,6 +89,8 @@ _db_game_xml_cdata(void *pv, const char *s, int len)
s_z = s_z_trimmed = strndup(s, len);
+ db_dbg(" %s [CDATA]", s_z);
+
while(isspace(*s_z_trimmed)) {
++s_z_trimmed;
--len;