From: "Daniel P. Berrange" <berrange(a)redhat.com>
---
libvirt-gconfig/libvirt-gconfig-object.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libvirt-gconfig/libvirt-gconfig-object.c
b/libvirt-gconfig/libvirt-gconfig-object.c
index 03c7d5a..f7b60e2 100644
--- a/libvirt-gconfig/libvirt-gconfig-object.c
+++ b/libvirt-gconfig/libvirt-gconfig-object.c
@@ -264,7 +264,7 @@ gchar *gvir_config_object_to_xml(GVirConfigObject *config)
if (node == NULL)
return NULL;
- xmlDocDumpMemory(node->doc, &doc, &size);
+ xmlDocDumpFormatMemory(node->doc, &doc, &size, 1);
output_doc = g_strdup((gchar *)doc);
xmlFree(doc);
--
1.7.6.4