diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2010-04-18 11:14:56 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2010-04-18 11:14:56 +0000 |
commit | f81ea3419e1c2374da0c1440755f71d875d6ff6c (patch) | |
tree | d5a1534c514c9c734650e4355093125f0bf4d25e /utils/http.c | |
parent | 3958f3730ba9e48cf9f92b0eff61ac9b0cf95161 (diff) | |
download | netsurf-f81ea3419e1c2374da0c1440755f71d875d6ff6c.tar.gz netsurf-f81ea3419e1c2374da0c1440755f71d875d6ff6c.tar.bz2 |
Fix Content-Type header parsing
svn path=/trunk/netsurf/; revision=10426
Diffstat (limited to 'utils/http.c')
-rw-r--r-- | utils/http.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/utils/http.c b/utils/http.c index 65c82d39e..71c8a216e 100644 --- a/utils/http.c +++ b/utils/http.c @@ -312,11 +312,6 @@ nserror http_parse_content_type(const char *header_value, char **media_type, pos++; if (*pos == ';') { - pos++; - - while (*pos == ' ' || *pos == '\t') - pos++; - error = http_parse_parameter_list(&pos, ¶ms); if (error != NSERROR_OK) { free(subtype); |