mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-29 11:41:22 +03:00
preparing 2.4.10 upgraded and rebuilt the docs Daniel
* configure.in include/libxml/xmlwin32version.h: preparing 2.4.10 * doc/*: upgraded and rebuilt the docs Daniel
This commit is contained in:
5
uri.c
5
uri.c
@ -1004,10 +1004,9 @@ xmlURIEscape(const xmlChar * str)
|
||||
if (uri->port) {
|
||||
xmlChar port[10];
|
||||
|
||||
snprintf((char *) segment, 10, "%d", uri->port);
|
||||
snprintf((char *) port, 10, "%d", uri->port);
|
||||
ret = xmlStrcat(ret, BAD_CAST ":");
|
||||
ret = xmlStrcat(ret, port);
|
||||
xmlFree(segment);
|
||||
}
|
||||
|
||||
if (uri->path) {
|
||||
@ -1042,6 +1041,8 @@ xmlURIEscape(const xmlChar * str)
|
||||
ret = xmlStrcat(ret, segment);
|
||||
xmlFree(segment);
|
||||
}
|
||||
|
||||
xmlFreeURI(uri);
|
||||
#undef NULLCHK
|
||||
|
||||
return (ret);
|
||||
|
Reference in New Issue
Block a user