1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-06 09:43:13 +02:00

core: revert case sensitive Curl constants and options (issue #1872)

This is a partial revert of fca78ca823.
This commit is contained in:
Sébastien Helleu
2023-03-12 08:00:51 +01:00
parent e36eda5404
commit 7ba9f9ac7b
+2 -2
View File
@@ -1032,7 +1032,7 @@ weeurl_search_constant (struct t_url_constant *constants, const char *name)
for (i = 0; constants[i].name; i++)
{
if (strcmp (constants[i].name, name) == 0)
if (string_strcasecmp (constants[i].name, name) == 0)
{
return i;
}
@@ -1101,7 +1101,7 @@ weeurl_search_option (const char *name)
for (i = 0; url_options[i].name; i++)
{
if (strcmp (url_options[i].name, name) == 0)
if (string_strcasecmp (url_options[i].name, name) == 0)
{
return i;
}