summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Roche <xroche@users.noreply.github.com>2013-05-31 14:23:09 +0000
committerXavier Roche <xroche@users.noreply.github.com>2013-05-31 14:23:09 +0000
commit356a35deb593b3d1685e63d9ab8cb3bace462ffd (patch)
tree64a00e763fbdb72b3c8f58ee564b966b9f5b91db
parent1ea11211da991e1d4c16826a27803e283bb093a9 (diff)
Removed buggy code.
-rw-r--r--src/htsparse.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/htsparse.c b/src/htsparse.c
index caace62..f1fcb36 100644
--- a/src/htsparse.c
+++ b/src/htsparse.c
@@ -2981,21 +2981,6 @@ int htsparse(htsmoduleStruct * str, htsmoduleStructExtended * stre) {
}
}
- // convert to local codepage
- if (str->page_charset_ != NULL
- && *str->page_charset_ != '\0') {
- char *const local_save =
- hts_convertStringFromUTF8(tempo, strlen(tempo),
- str->page_charset_);
- if (local_save != NULL) {
- strcpybuff(tempo, local_save);
- free(local_save);
- } else {
- hts_log_print(opt, LOG_DEBUG,
- "Warning: could not build local charset representation of '%s' in '%s'",
- tempo, str->page_charset_);
- }
- }
// put original query string if any (ex: "www.example.com/foo4242.html?q=45)
pos = strchr(fil, '?');
if (pos != NULL) {