diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2000-11-25 00:48:47 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2000-11-25 00:48:47 +0000 |
commit | 58770e762eb287d41b38e7e2abf156d3a9e913f4 (patch) | |
tree | b468903d54817ccbce353b754615af9bdfed8171 /xmlIO.c | |
parent | f62ceffb7e538bf78894d2e2192848fdb40fe278 (diff) | |
download | android_external_libxml2-58770e762eb287d41b38e7e2abf156d3a9e913f4.tar.gz android_external_libxml2-58770e762eb287d41b38e7e2abf156d3a9e913f4.tar.bz2 android_external_libxml2-58770e762eb287d41b38e7e2abf156d3a9e913f4.zip |
Fixes/enhancements: - tree.[ch] xmlIO.c: added xmlDocDumpMemoryEnc() from
Fixes/enhancements:
- tree.[ch] xmlIO.c: added xmlDocDumpMemoryEnc() from John Kroll
- error.c: applied fix suggested by "Leo Davidson" <leo@ox.compsoc.net>
Daniel
Diffstat (limited to 'xmlIO.c')
-rw-r--r-- | xmlIO.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -836,7 +836,8 @@ xmlOutputBufferClose(xmlOutputBufferPtr out) { if (out == NULL) return(-1); - xmlOutputBufferFlush(out); + if (out->writecallback != NULL) + xmlOutputBufferFlush(out); if (out->closecallback != NULL) { out->closecallback(out->context); } |