diff options
author | Patrick 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) |
commit | 024f90bb8a3771aa4f2c142687d6421060b5f987 (patch) | |
tree | 5d8061ba23c4c8440491766dde7a2e1d8ffaf26b | |
parent | 4bb88b24696e222bf2729bbf68f113f2fcf635f2 (diff) | |
download | dodge-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |