diff options
author | Max Kellermann <max@duempel.org> | 2015-01-21 22:36:13 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2015-01-21 23:30:00 +0100 |
commit | 1c3f5517fabc264d7b37935bd37197cdd68250ba (patch) | |
tree | 509f68fe930e79bfa4c70a1cf2146a347f8acdef /src/input/plugins | |
parent | 10972da06030d57429dc2c86c21e37fd0aca88dc (diff) | |
download | mpd-1c3f5517fabc264d7b37935bd37197cdd68250ba.tar.gz mpd-1c3f5517fabc264d7b37935bd37197cdd68250ba.tar.xz mpd-1c3f5517fabc264d7b37935bd37197cdd68250ba.zip |
config/Option: convert to strictly-typed enum
Diffstat (limited to 'src/input/plugins')
-rw-r--r-- | src/input/plugins/CurlInputPlugin.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/input/plugins/CurlInputPlugin.cxx b/src/input/plugins/CurlInputPlugin.cxx index 114f03f3c..bdfcaf647 100644 --- a/src/input/plugins/CurlInputPlugin.cxx +++ b/src/input/plugins/CurlInputPlugin.cxx @@ -564,10 +564,10 @@ input_curl_init(const config_param ¶m, Error &error) if (proxy == nullptr) { /* deprecated proxy configuration */ - proxy = config_get_string(CONF_HTTP_PROXY_HOST, nullptr); - proxy_port = config_get_positive(CONF_HTTP_PROXY_PORT, 0); - proxy_user = config_get_string(CONF_HTTP_PROXY_USER, nullptr); - proxy_password = config_get_string(CONF_HTTP_PROXY_PASSWORD, + proxy = config_get_string(ConfigOption::HTTP_PROXY_HOST, nullptr); + proxy_port = config_get_positive(ConfigOption::HTTP_PROXY_PORT, 0); + proxy_user = config_get_string(ConfigOption::HTTP_PROXY_USER, nullptr); + proxy_password = config_get_string(ConfigOption::HTTP_PROXY_PASSWORD, ""); } |