Commit f831bfb9 authored by Daniel Veillard's avatar Daniel Veillard
Browse files

tree.c : xmlSaveFile, xmlSaveFileEnc, applied patch from Gary Pennington, Daniel

parent 389e6b72
Tue Jan 16 18:24:46 CET 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
* tree.c : xmlSaveFile, xmlSaveFileEnc, applied patch from
Gary Pennington
Mon Jan 15 20:24:18 CET 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
* xpath.c: fixed the comaprision of values and nodelists,
......
......@@ -5917,7 +5917,7 @@ xmlSaveFileEnc(const char *filename, xmlDocPtr cur, const char *encoding) {
* save the content to a temp buffer.
*/
buf = xmlOutputBufferCreateFilename(filename, handler, 0);
if (buf == NULL) return(0);
if (buf == NULL) return(-1);
xmlDocContentDumpOutput(buf, cur, encoding, 1);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment