summaryrefslogtreecommitdiffstats
path: root/lasso/xml/tools.c
diff options
context:
space:
mode:
Diffstat (limited to 'lasso/xml/tools.c')
-rw-r--r--lasso/xml/tools.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lasso/xml/tools.c b/lasso/xml/tools.c
index b5e75167..17a19f1d 100644
--- a/lasso/xml/tools.c
+++ b/lasso/xml/tools.c
@@ -2111,7 +2111,7 @@ cleanup:
* Return value: a newly allocated C string
*/
char*
-lasso_xmlnode_to_string(xmlNode *node, gboolean format)
+lasso_xmlnode_to_string(xmlNode *node, gboolean format, int level)
{
xmlOutputBufferPtr buf;
xmlCharEncodingHandlerPtr handler = NULL;
@@ -2123,7 +2123,7 @@ lasso_xmlnode_to_string(xmlNode *node, gboolean format)
handler = xmlFindCharEncodingHandler("utf-8");
buf = xmlAllocOutputBuffer(handler);
- xmlNodeDumpOutput(buf, NULL, node, 0, format ? 1 : 0, "utf-8");
+ xmlNodeDumpOutput(buf, NULL, node, level, format ? 1 : 0, "utf-8");
xmlOutputBufferFlush(buf);
buffer = buf->conv ? buf->conv->content : buf->buffer->content;
/* do not mix XML and GLib strings, so we must copy */