1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-30 22:43:14 +03:00

- DOCBparser.c: implemented the <?sgml-declaration encoding="xxx"?>

hack
- tree.[ch]: added xmlHasNsProp as suggested in bug report #55653
- uri.c: fixed a warning
Daniel
This commit is contained in:
Daniel Veillard
2001-06-06 10:46:28 +00:00
parent 6e93c4aa47
commit e95e2396f3
6 changed files with 260 additions and 3 deletions

2
uri.c
View File

@ -1109,7 +1109,7 @@ xmlURIEscape(const xmlChar *str) {
if(uri->port) {
xmlChar port[10];
snprintf(segment, 10, "%d", uri->port);
snprintf((char *) segment, 10, "%d", uri->port);
xmlStrcat(ret, BAD_CAST ":");
xmlStrcat(ret, port);
xmlFree(segment);