summaryrefslogtreecommitdiff
path: root/src/core/wee-url.c
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2023-07-06 21:16:56 +0200
committerSébastien Helleu <flashcode@flashtux.org>2023-07-08 13:29:45 +0200
commit481e8f197d1e713ed94d1603c0af272fb202a65b (patch)
tree4b349348e4aa86a85b21202d1550c7f0d059bc1e /src/core/wee-url.c
parent66cb9f6ea2e534887e73c885d3f131710c48382d (diff)
downloadweechat-481e8f197d1e713ed94d1603c0af272fb202a65b.zip
core: use type "enum" in options
Diffstat (limited to 'src/core/wee-url.c')
-rw-r--r--src/core/wee-url.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/wee-url.c b/src/core/wee-url.c
index 3d64b3219..2c6be1f4f 100644
--- a/src/core/wee-url.c
+++ b/src/core/wee-url.c
@@ -1249,7 +1249,7 @@ weeurl_set_proxy (CURL *curl, struct t_proxy *proxy)
return;
/* set proxy type */
- switch (CONFIG_INTEGER(proxy->options[PROXY_OPTION_TYPE]))
+ switch (CONFIG_ENUM(proxy->options[PROXY_OPTION_TYPE]))
{
case PROXY_TYPE_HTTP:
curl_easy_setopt (curl, CURLOPT_PROXYTYPE, CURLPROXY_HTTP);