diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2001-05-31 18:43:43 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2001-05-31 18:43:43 +0000 |
commit | 3c2758d3f12564f27ea747eeaad61d7fc8faee03 (patch) | |
tree | fb81f664b4db33bcc1f32ffe76176f6a9cebbd3a /xmlIO.c | |
parent | 2004242728b3d37f1b98e146a7cb40098b79d888 (diff) | |
download | android_external_libxml2-3c2758d3f12564f27ea747eeaad61d7fc8faee03.tar.gz android_external_libxml2-3c2758d3f12564f27ea747eeaad61d7fc8faee03.tar.bz2 android_external_libxml2-3c2758d3f12564f27ea747eeaad61d7fc8faee03.zip |
- xmlIO.c: Gary Pennington spotted a few troubles with file:///
Daniel
Diffstat (limited to 'xmlIO.c')
-rw-r--r-- | xmlIO.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -238,7 +238,7 @@ xmlFileOpen (const char *filename) { if (!strncmp(filename, "file://localhost", 16)) path = &filename[16]; else if (!strncmp(filename, "file:///", 8)) - path = &filename[8]; + path = &filename[7]; else path = filename; @@ -277,7 +277,7 @@ xmlFileOpenW (const char *filename) { if (!strncmp(filename, "file://localhost", 16)) path = &filename[16]; else if (!strncmp(filename, "file:///", 8)) - path = &filename[8]; + path = &filename[7]; else path = filename; @@ -419,7 +419,7 @@ xmlGzfileOpenW (const char *filename, int compression) { if (!strncmp(filename, "file://localhost", 16)) path = &filename[16]; else if (!strncmp(filename, "file:///", 8)) - path = &filename[8]; + path = &filename[7]; else path = filename; |