summaryrefslogtreecommitdiff
path: root/src/htslib.c
diff options
context:
space:
mode:
authorXavier Roche <xroche@users.noreply.github.com>2013-05-31 11:38:53 +0000
committerXavier Roche <xroche@users.noreply.github.com>2013-05-31 11:38:53 +0000
commitbc31ec0da9573d482de24f27241482f50e46e60c (patch)
treee5e80dd055b2e4790802728d4e3b4b5b8c361277 /src/htslib.c
parent8767fd0e750b70a121d95e3ecf7e59bcec499d95 (diff)
Fixed issue 14 (http://code.google.com/p/httrack/issues/detail?id=14)
Rationale: * hostname is ASCII, non-ascii characters shall be encoded with IDNA * URI filenames may embed non-ascii characters, which MUST be UTF-8 encoded * query string may embed non-ascii characters, which are encoded with the pahe charset into %xx codes
Diffstat (limited to 'src/htslib.c')
-rw-r--r--src/htslib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/htslib.c b/src/htslib.c
index 8b53b88..f74efe1 100644
--- a/src/htslib.c
+++ b/src/htslib.c
@@ -3753,7 +3753,7 @@ static int ehex(const char *s) {
}
void unescape_amp(char *s) {
- if (hts_unescape_entities(s, s, strlen(s) + 1) != 0) {
+ if (hts_unescapeEntities(s, s, strlen(s) + 1) != 0) {
assertf(! "error escaping html entities");
}
}