aboutsummaryrefslogtreecommitdiffstats
path: root/src/input/curl_input_plugin.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-12-14 22:29:46 +0100
committerMax Kellermann <max@duempel.org>2009-12-14 23:16:18 +0100
commit786c1f035f99f3a396dfd52a469601163de3e9af (patch)
tree152f9a1e628d1eb8bdb0f67fa6348b88d98cfb7d /src/input/curl_input_plugin.c
parentf70d2f58a1ac221d488a4fbb2fda39d83048ec53 (diff)
downloadmpd-786c1f035f99f3a396dfd52a469601163de3e9af.tar.gz
mpd-786c1f035f99f3a396dfd52a469601163de3e9af.tar.xz
mpd-786c1f035f99f3a396dfd52a469601163de3e9af.zip
input_plugin: method init() returns errors with GError
Not used by any plugin currently, but this eliminates the g_error() call in input_plugin_config(), so it's worth it.
Diffstat (limited to 'src/input/curl_input_plugin.c')
-rw-r--r--src/input/curl_input_plugin.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/input/curl_input_plugin.c b/src/input/curl_input_plugin.c
index 49defc7fe..69b19c371 100644
--- a/src/input/curl_input_plugin.c
+++ b/src/input/curl_input_plugin.c
@@ -104,7 +104,8 @@ static const char *proxy, *proxy_user, *proxy_password;
static unsigned proxy_port;
static bool
-input_curl_init(const struct config_param *param)
+input_curl_init(const struct config_param *param,
+ G_GNUC_UNUSED GError **error_r)
{
CURLcode code = curl_global_init(CURL_GLOBAL_ALL);
if (code != CURLE_OK) {