summaryrefslogtreecommitdiff
path: root/rest/rest-proxy-call.c
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2017-03-15 09:22:33 +0100
committerDebarshi Ray <debarshir@gnome.org>2017-10-17 16:15:13 +0200
commit8d7ba174fd56c6ecc2a304d6558db8ca209de6ae (patch)
tree780b9aeae61178388697bc63b88d9ddb49bc0086 /rest/rest-proxy-call.c
parentbe64cc06548802f8870ae217c7d998e1b3f52f09 (diff)
downloadlibrest-8d7ba174fd56c6ecc2a304d6558db8ca209de6ae.tar.gz
RestProxy: Set the payload after _upload
Before this, it was impossible to get the server payload from a proxy call invoked via rest_proxy_call_upload.
Diffstat (limited to 'rest/rest-proxy-call.c')
-rw-r--r--rest/rest-proxy-call.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rest/rest-proxy-call.c b/rest/rest-proxy-call.c
index f45d3af..2d2ac58 100644
--- a/rest/rest-proxy-call.c
+++ b/rest/rest-proxy-call.c
@@ -1060,7 +1060,7 @@ _upload_call_message_completed_cb (SoupSession *session,
priv->status_code = message->status_code;
priv->status_message = g_strdup (message->reason_phrase);
- _handle_error_from_message (message, &error);
+ finish_call (call, message, &error);
closure->callback (closure->call,
closure->uploaded,