diff options
author | Xavier Roche <xroche@users.noreply.github.com> | 2013-05-31 14:23:09 +0000 |
---|---|---|
committer | Xavier Roche <xroche@users.noreply.github.com> | 2013-05-31 14:23:09 +0000 |
commit | 356a35deb593b3d1685e63d9ab8cb3bace462ffd (patch) | |
tree | 64a00e763fbdb72b3c8f58ee564b966b9f5b91db /src | |
parent | 1ea11211da991e1d4c16826a27803e283bb093a9 (diff) |
Removed buggy code.
Diffstat (limited to 'src')
-rw-r--r-- | src/htsparse.c | 15 |
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) { |