diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2003-03-14 02:00:25 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2003-03-14 02:00:25 +0800 |
commit | 7cff3a9cdeae5f0952674488f074fd6f75602cf0 (patch) | |
tree | 1cb0e08ffd49446892a49cf17720d6f3981ac77c | |
parent | aaf4ff8afcb132744bccd0f3a0d3818fe429e7b0 (diff) | |
download | gsoc2013-evolution-7cff3a9cdeae5f0952674488f074fd6f75602cf0.tar.gz 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
-rw-r--r-- | e-util/e-xml-utils.c | 2 |
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); |