diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2023-01-21 20:30:29 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2023-01-28 15:14:04 +0100 |
commit | a3befc7aaeda89e1caa3d604d9c2e50faf31e2fd (patch) | |
tree | 514211ccced50efc972f2b15a0d6434e68d95651 /src/core/wee-proxy.c | |
parent | 54ed4c6a183e3bb4b29f4bb9c56c0a0485d01785 (diff) | |
download | weechat-a3befc7aaeda89e1caa3d604d9c2e50faf31e2fd.zip |
core: make proxy options and types case sensitive (issue #1872)
Diffstat (limited to 'src/core/wee-proxy.c')
-rw-r--r-- | src/core/wee-proxy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/wee-proxy.c b/src/core/wee-proxy.c index 5cb98abd3..0b910930b 100644 --- a/src/core/wee-proxy.c +++ b/src/core/wee-proxy.c @@ -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; } |