1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-25 04:16:38 +02:00

core: make proxy options and types case sensitive (issue #1872)

This commit is contained in:
Sébastien Helleu
2023-01-21 20:30:29 +01:00
parent 54ed4c6a18
commit a3befc7aae
+2 -2
View File
@@ -67,7 +67,7 @@ proxy_search_option (const char *option_name)
for (i = 0; i < PROXY_NUM_OPTIONS; i++)
{
if (string_strcasecmp (proxy_option_string[i], option_name) == 0)
if (strcmp (proxy_option_string[i], option_name) == 0)
return i;
}
@@ -91,7 +91,7 @@ proxy_search_type (const char *type)
for (i = 0; i < PROXY_NUM_TYPES; i++)
{
if (string_strcasecmp (proxy_type_string[i], type) == 0)
if (strcmp (proxy_type_string[i], type) == 0)
return i;
}