1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-03-12 16:58:16 +03:00

small bit forgotten from Gary Pennington's patch, Daniel

This commit is contained in:
Daniel Veillard 2001-01-17 08:23:04 +00:00
parent 8f2cc57cea
commit 0cede08bb6

2
tree.c
View File

@ -5972,7 +5972,7 @@ xmlSaveFile(const char *filename, xmlDocPtr cur) {
}
buf = xmlOutputBufferCreateFilename(filename, handler, cur->compression);
if (buf == NULL) return(0);
if (buf == NULL) return(-1);
xmlDocContentDumpOutput(buf, cur, NULL, 1);