fix for libxml1 compatibility

Original commit message from CVS:
fix for libxml1 compatibility
This commit is contained in:
Andy Wingo 2002-01-11 16:05:06 +00:00
parent d262bea863
commit 58ce781c21

View file

@ -179,7 +179,9 @@ gst_xml_write_file (GstElement *element, FILE *out)
ret = xmlSaveFormatFileTo(buf, cur, NULL, 1);
xmlIndentTreeOutput = indent;
#else
ret = xmlDocDump (out, cur);
/* apparently this doesn't return anything in libxml1 */
xmlDocDump (out, cur);
ret = 1;
#endif
return ret;