mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-22 20:16:54 +03:00
[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
This commit is contained in:
parent
0422445008
commit
83a61530dc
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user