mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 02:40:11 +00:00
Merge branch 'master' into 'master'
broadway: make header name parsing case-insensitve Closes #3406 See merge request GNOME/gtk!2894
This commit is contained in:
commit
56b0095622
@ -1022,7 +1022,7 @@ parse_line (const char *line, const char *key)
|
||||
{
|
||||
const char *p;
|
||||
|
||||
if (!g_str_has_prefix (line, key))
|
||||
if (g_ascii_strncasecmp (line, key, strlen (key)) != 0)
|
||||
return NULL;
|
||||
p = line + strlen (key);
|
||||
if (*p != ':')
|
||||
|
Loading…
Reference in New Issue
Block a user