summaryrefslogtreecommitdiff
path: root/rest/rest-proxy.c
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2016-06-17 17:44:15 +0200
committerChristophe Fergeau <cfergeau@redhat.com>2016-06-20 12:39:44 +0200
commitbb67d53e061277bc9a83acd9a52ed35d458ca391 (patch)
tree3441a2a31b41774fc5459f968e3cab516faa4fa4 /rest/rest-proxy.c
parenta4add5c205bb903c05aa6487251e47debfb8cd54 (diff)
downloadlibrest-bb67d53e061277bc9a83acd9a52ed35d458ca391.tar.gz
RestProxyCall: Use GTask
Diffstat (limited to 'rest/rest-proxy.c')
-rw-r--r--rest/rest-proxy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rest/rest-proxy.c b/rest/rest-proxy.c
index 81d487d..2a6b08c 100644
--- a/rest/rest-proxy.c
+++ b/rest/rest-proxy.c
@@ -676,7 +676,7 @@ _rest_proxy_simple_run_valist (RestProxy *proxy,
rest_proxy_call_add_params_from_valist (call, params);
- ret = rest_proxy_call_run (call, NULL, error);
+ ret = rest_proxy_call_sync (call, error);
if (ret) {
*payload = g_strdup (rest_proxy_call_get_payload (call));
if (len) *len = rest_proxy_call_get_payload_length (call);