summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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;