From f39d78dc2e7d4b75e09223f5b3e92c43d24772e4 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Mon, 20 Mar 2017 00:48:11 +0000 Subject: mimimal mime sniffing test --- content/mimesniff.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'content/mimesniff.c') 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 { -- cgit v1.2.3