summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2017-03-25 09:23:36 +0100
committerTimm Bäder <mail@baedert.org>2017-03-25 09:23:36 +0100
commitd68081c7f06c8c4ae2758f3bc87d349adbdeff73 (patch)
tree5f624021d9bd07e34da43a4aa02efa2241e3c812
parentbaa0f8e2886be65122e188957a42d3cfd011a480 (diff)
downloadlibrest-wip/baedert/tests.tar.gz
Proxycall: Remove double-assign to status_{message,code}wip/baedert/tests
This is already done in finish_call and the assignent to priv->status_message was leaking the previously set value.
-rw-r--r--rest/rest-proxy-call.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/rest/rest-proxy-call.c b/rest/rest-proxy-call.c
index 1a847da..455417b 100644
--- a/rest/rest-proxy-call.c
+++ b/rest/rest-proxy-call.c
@@ -1081,9 +1081,6 @@ _upload_call_message_completed_cb (SoupSession *session,
call = closure->call;
priv = GET_PRIVATE (call);
- priv->status_code = message->status_code;
- priv->status_message = g_strdup (message->reason_phrase);
-
finish_call (call, message, &error);
if (error != NULL)