From: "Daniel P. Berrange" <berrange@xxxxxxxxxx> --- 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 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list