aboutsummaryrefslogtreecommitdiffstats
path: root/src/input_curl.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-01-17 20:23:27 +0100
committerMax Kellermann <max@duempel.org>2009-01-17 20:23:27 +0100
commit4d472c265ed0b3f7f61ee624c01c8ef319db7c99 (patch)
tree8ec3ea874c741c9b0e1ab70db2a96e02acec8225 /src/input_curl.c
parent2bbf378dd8a3f12b4b79228ce562402c29d2cd09 (diff)
downloadmpd-4d472c265ed0b3f7f61ee624c01c8ef319db7c99.tar.gz
mpd-4d472c265ed0b3f7f61ee624c01c8ef319db7c99.tar.xz
mpd-4d472c265ed0b3f7f61ee624c01c8ef319db7c99.zip
conf: no CamelCase, part I
Renamed functions, types, variables.
Diffstat (limited to 'src/input_curl.c')
-rw-r--r--src/input_curl.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/input_curl.c b/src/input_curl.c
index 84311d142..0ce648401 100644
--- a/src/input_curl.c
+++ b/src/input_curl.c
@@ -630,10 +630,10 @@ input_curl_easy_init(struct input_stream *is)
struct input_curl *c = is->data;
CURLcode code;
CURLMcode mcode;
- ConfigParam *proxy_host;
- ConfigParam *proxy_port;
- ConfigParam *proxy_user;
- ConfigParam *proxy_pass;
+ struct config_param *proxy_host;
+ struct config_param *proxy_port;
+ struct config_param *proxy_user;
+ struct config_param *proxy_pass;
c->eof = false;
@@ -661,10 +661,10 @@ input_curl_easy_init(struct input_stream *is)
curl_easy_setopt(c->easy, CURLOPT_FAILONERROR, true);
curl_easy_setopt(c->easy, CURLOPT_ERRORBUFFER, c->error);
- proxy_host = getConfigParam(CONF_HTTP_PROXY_HOST);
- proxy_port = getConfigParam(CONF_HTTP_PROXY_PORT);
- proxy_user = getConfigParam(CONF_HTTP_PROXY_USER);
- proxy_pass = getConfigParam(CONF_HTTP_PROXY_PASSWORD);
+ proxy_host = config_get_param(CONF_HTTP_PROXY_HOST);
+ proxy_port = config_get_param(CONF_HTTP_PROXY_PORT);
+ proxy_user = config_get_param(CONF_HTTP_PROXY_USER);
+ proxy_pass = config_get_param(CONF_HTTP_PROXY_PASSWORD);
if (proxy_host != NULL) {
char *proxy_host_str;