summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2016-07-14 13:06:21 +0200
committerTimm Bäder <mail@baedert.org>2016-07-14 18:30:32 +0200
commit89afb654e30353c2b78501185320d9a97b25feb1 (patch)
treebd6989b41df1e8d4cf697876d492dce5de136450
parent430da5974d2479f128d28c4caf7177a1da6c9e88 (diff)
downloadlibrest-89afb654e30353c2b78501185320d9a97b25feb1.tar.gz
oauth-proxy-call: Remove an unnecessary cast
-rw-r--r--rest/oauth-proxy-call.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rest/oauth-proxy-call.c b/rest/oauth-proxy-call.c
index fc35bd4..c90c69d 100644
--- a/rest/oauth-proxy-call.c
+++ b/rest/oauth-proxy-call.c
@@ -131,7 +131,7 @@ sign_hmac (OAuthProxy *proxy, RestProxyCall *call, GHashTable *oauth_params)
url_str = rest_proxy_call_get_url (call);
text = g_string_new (NULL);
- g_string_append (text, rest_proxy_call_get_method (REST_PROXY_CALL (call)));
+ g_string_append (text, rest_proxy_call_get_method (call));
g_string_append_c (text, '&');
if (priv->oauth_echo) {
g_string_append_uri_escaped (text, priv->service_url, NULL, FALSE);