aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2007-04-24 10:19:52 +0000
committerDaniel Veillard <veillard@src.gnome.org>2007-04-24 10:19:52 +0000
commit79187654545830f85706db94fc5d83eb761e8316 (patch)
treedddfdd1ec477ab608414ceb22799960275a9ae9e
parenta44294f10b33a53a7b18803a309844e96f8dd318 (diff)
downloadandroid_external_libxml2-79187654545830f85706db94fc5d83eb761e8316.tar.gz
android_external_libxml2-79187654545830f85706db94fc5d83eb761e8316.tar.bz2
android_external_libxml2-79187654545830f85706db94fc5d83eb761e8316.zip
More doc cleanup, Daniel
svn path=/trunk/; revision=3604
-rw-r--r--uri.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/uri.c b/uri.c
index 23af9138..0b91c243 100644
--- a/uri.c
+++ b/uri.c
@@ -807,8 +807,11 @@ static int is_hex(char c) {
*
* Unescaping routine, but does not check that the string is an URI. The
* output is a direct unsigned char translation of %XX values (no encoding)
+ * Note that the length of the result can only be smaller or same size as
+ * the input string.
*
- * Returns a copy of the string, but unescaped
+ * Returns a copy of the string, but unescaped, will return NULL only in case
+ * of error
*/
char *
xmlURIUnescapeString(const char *str, int len, char *target) {