aboutsummaryrefslogtreecommitdiffstats
path: root/uri.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2007-05-28 14:16:33 +0000
committerDaniel Veillard <veillard@src.gnome.org>2007-05-28 14:16:33 +0000
commite61d75f11e1e061d0394db395937cd8cdad7d689 (patch)
tree54e09552db8fe50a0e1b1387fe846969ae105600 /uri.c
parent38d452ac1c98b64eb0723175a67c2f59adc35d5a (diff)
downloadandroid_external_libxml2-e61d75f11e1e061d0394db395937cd8cdad7d689.tar.gz
android_external_libxml2-e61d75f11e1e061d0394db395937cd8cdad7d689.tar.bz2
android_external_libxml2-e61d75f11e1e061d0394db395937cd8cdad7d689.zip
fix bug reported by François Delyon Daniel
* uri.c: fix bug reported by François Delyon Daniel svn path=/trunk/; revision=3619
Diffstat (limited to 'uri.c')
-rw-r--r--uri.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/uri.c b/uri.c
index 2141317e..4f5e182f 100644
--- a/uri.c
+++ b/uri.c
@@ -1296,7 +1296,7 @@ xmlParseURIServer(xmlURIPtr uri, const char **str) {
if (uri != NULL) {
if (uri->user != NULL) xmlFree(uri->user);
if (uri->cleanup & 2)
- uri->path = STRNDUP(*str, cur - *str);
+ uri->user = STRNDUP(*str, cur - *str);
else
uri->user = xmlURIUnescapeString(*str, cur - *str, NULL);
}