diff options
author | William M. Brack <wbrack@src.gnome.org> | 2004-09-18 04:52:08 +0000 |
---|---|---|
committer | William M. Brack <wbrack@src.gnome.org> | 2004-09-18 04:52:08 +0000 |
commit | 13dfa87e91a32c347c5c9c655252609f552e9424 (patch) | |
tree | 3783dc817c55c35982032c696dd79f3c3c83df7e /HTMLtree.c | |
parent | 7a5e0dd1fc73020a1093a30d2c7d5229190369ff (diff) | |
download | android_external_libxml2-13dfa87e91a32c347c5c9c655252609f552e9424.tar.gz android_external_libxml2-13dfa87e91a32c347c5c9c655252609f552e9424.tar.bz2 android_external_libxml2-13dfa87e91a32c347c5c9c655252609f552e9424.zip |
added the routine xmlNanoHTTPContentLength to the external API
* nanohttp.c, include/libxml/nanohttp.h: added the routine
xmlNanoHTTPContentLength to the external API (bug151968).
* parser.c: fixed unnecessary internal error message (bug152060);
also changed call to strncmp over to xmlStrncmp.
* encoding.c: fixed compilation warning (bug152307).
* tree.c: fixed segfault in xmlCopyPropList (bug152368); fixed
a couple of compilation warnings.
* HTMLtree.c, debugXML.c, xmlmemory.c: fixed a few compilation
warnings; no change to logic.
Diffstat (limited to 'HTMLtree.c')
-rw-r--r-- | HTMLtree.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -170,7 +170,7 @@ htmlSetMetaEncoding(htmlDocPtr doc, const xmlChar *encoding) { if (encoding != NULL) { snprintf(newcontent, sizeof(newcontent), "text/html; charset=%s", - encoding); + (char *)encoding); newcontent[sizeof(newcontent) - 1] = 0; } |