From 7cff3a9cdeae5f0952674488f074fd6f75602cf0 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Thu, 13 Mar 2003 18:00:25 +0000 Subject: Updated to use xmlDocDumpFormatMemory() so that we get structured xml 2003-03-13 Jeffrey Stedfast * gal/util/e-xml-utils.c (e_xml_save_file): Updated to use xmlDocDumpFormatMemory() so that we get structured xml rather than just a clump of xml mess. svn path=/trunk/; revision=20275 --- e-util/e-xml-utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'e-util') diff --git a/e-util/e-xml-utils.c b/e-util/e-xml-utils.c index b33fb74ca5..437934be65 100644 --- a/e-util/e-xml-utils.c +++ b/e-util/e-xml-utils.c @@ -457,7 +457,7 @@ e_xml_save_file (const char *filename, xmlDocPtr doc) if (fd == -1) return -1; - xmlDocDumpMemory (doc, (xmlChar **) &xmlbuf, &size); + xmlDocDumpFormatMemory (doc, (xmlChar **) &xmlbuf, &size, TRUE); if (size <= 0) { close (fd); unlink (filesave); -- cgit v1.2.3