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.
This commit is contained in:
Max Kellermann
2009-12-14 22:29:46 +01:00
parent f70d2f58a1
commit 786c1f035f
9 changed files with 79 additions and 15 deletions

View File

@@ -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) {