From 83a61530dc1d479cd9466331f388a20c4ff10468 Mon Sep 17 00:00:00 2001 From: James Bursa Date: Tue, 20 Apr 2004 18:27:46 +0000 Subject: [project @ 2004-04-20 18:27:46 by bursa] Make Content-Type type comparison case-insensitive (reported by Rien Mertens). svn path=/import/netsurf/; revision=795 --- content/content.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'content/content.c') diff --git a/content/content.c b/content/content.c index 7fc161343..db4fcb406 100644 --- a/content/content.c +++ b/content/content.c @@ -157,7 +157,7 @@ content_type content_lookup(const char *mime_type) { struct mime_entry *m; m = bsearch(mime_type, mime_map, MIME_MAP_COUNT, sizeof(mime_map[0]), - (int (*)(const void *, const void *)) strcmp); + (int (*)(const void *, const void *)) strcasecmp); if (m == 0) { #ifdef riscos #ifdef WITH_PLUGIN -- cgit v1.2.3