diff options
Diffstat (limited to 'src/core/wee-url.c')
-rw-r--r-- | src/core/wee-url.c | 2 |
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); |