summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2023-03-12 08:00:51 +0100
committerSébastien Helleu <flashcode@flashtux.org>2023-03-12 08:00:51 +0100
commit7ba9f9ac7ba226a083307e48a439e117cef25aea (patch)
tree504dad57dfda66f8a046d8f8adbbf5829d7fe19f /src/core
parente36eda540444910e297e577c793a801d1c9ccafc (diff)
downloadweechat-7ba9f9ac7ba226a083307e48a439e117cef25aea.zip
core: revert case sensitive Curl constants and options (issue #1872)
This is a partial revert of fca78ca823e147665687d6cb0a6fe9a4694ba61b.
Diffstat (limited to 'src/core')
-rw-r--r--src/core/wee-url.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/wee-url.c b/src/core/wee-url.c
index d3a086b88..3d64b3219 100644
--- a/src/core/wee-url.c
+++ b/src/core/wee-url.c
@@ -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;
}