diff options
author | Vincent Sanders <vince@kyllikki.org> | 2017-03-20 00:48:11 +0000 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2017-03-20 00:48:11 +0000 |
commit | f39d78dc2e7d4b75e09223f5b3e92c43d24772e4 (patch) | |
tree | d85d8544ddc77980a0fb04cf7261f24a08767c64 /content/mimesniff.c | |
parent | 0866314d9675c09b4b3d0db9e777f132b7c0aae7 (diff) | |
download | netsurf-f39d78dc2e7d4b75e09223f5b3e92c43d24772e4.tar.gz netsurf-f39d78dc2e7d4b75e09223f5b3e92c43d24772e4.tar.bz2 |
mimimal mime sniffing test
Diffstat (limited to 'content/mimesniff.c')
-rw-r--r-- | content/mimesniff.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/content/mimesniff.c b/content/mimesniff.c index 68f3fbd8e..9a11834f9 100644 --- a/content/mimesniff.c +++ b/content/mimesniff.c @@ -546,9 +546,13 @@ static nserror mimesniff__compute_feed_or_html(const uint8_t *data, } /* See mimesniff.h for documentation */ -nserror mimesniff_compute_effective_type(const char *content_type_header, - const uint8_t *data, size_t len, bool sniff_allowed, - bool image_only, lwc_string **effective_type) +nserror +mimesniff_compute_effective_type(const char *content_type_header, + const uint8_t *data, + size_t len, + bool sniff_allowed, + bool image_only, + lwc_string **effective_type) { #define S(s) { s, SLEN(s) } static const struct tt_s { |