diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2010-08-20 09:22:28 +0100 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2010-08-20 09:22:28 +0100 |
commit | f2520b5ad5a82d9bf08a550fb0e49913f57d4685 (patch) | |
tree | 18618be730943371ca6558777c315991d229da04 /lib/xmltree.c | |
parent | 80175a1558f297d5505ed4e91a261781ec9c65a2 (diff) |
In debugging mode, dump all SOAP requests + responses with some indentation
for easier debugging.
Diffstat (limited to 'lib/xmltree.c')
-rw-r--r-- | lib/xmltree.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/xmltree.c b/lib/xmltree.c index 20d69455..3ec7e673 100644 --- a/lib/xmltree.c +++ b/lib/xmltree.c @@ -330,7 +330,7 @@ void xt_print( struct xt_node *node ) /* Indentation */ for( c = node; c->parent; c = c->parent ) - printf( "\t" ); + printf( " " ); /* Start the tag */ printf( "<%s", node->name ); @@ -368,7 +368,7 @@ void xt_print( struct xt_node *node ) if( node->children ) for( c = node; c->parent; c = c->parent ) - printf( "\t" ); + printf( " " ); /* Non-empty tag is now finished. */ printf( "</%s>\n", node->name ); |