aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2003-03-14 02:00:25 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2003-03-14 02:00:25 +0800
commit7cff3a9cdeae5f0952674488f074fd6f75602cf0 (patch)
tree1cb0e08ffd49446892a49cf17720d6f3981ac77c /e-util
parentaaf4ff8afcb132744bccd0f3a0d3818fe429e7b0 (diff)
downloadgsoc2013-evolution-7cff3a9cdeae5f0952674488f074fd6f75602cf0.tar
gsoc2013-evolution-7cff3a9cdeae5f0952674488f074fd6f75602cf0.tar.gz
gsoc2013-evolution-7cff3a9cdeae5f0952674488f074fd6f75602cf0.tar.bz2
gsoc2013-evolution-7cff3a9cdeae5f0952674488f074fd6f75602cf0.tar.lz
gsoc2013-evolution-7cff3a9cdeae5f0952674488f074fd6f75602cf0.tar.xz
gsoc2013-evolution-7cff3a9cdeae5f0952674488f074fd6f75602cf0.tar.zst
gsoc2013-evolution-7cff3a9cdeae5f0952674488f074fd6f75602cf0.zip
Updated to use xmlDocDumpFormatMemory() so that we get structured xml
2003-03-13 Jeffrey Stedfast <fejj@ximian.com> * 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
Diffstat (limited to 'e-util')
-rw-r--r--e-util/e-xml-utils.c2
1 files changed, 1 insertions, 1 deletions
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);