[librest/wip/baedert/tests] Proxycall: Remove double-assign to status_{message, code}
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librest/wip/baedert/tests] Proxycall: Remove double-assign to status_{message, code}
- Date: Sat, 25 Mar 2017 08:24:13 +0000 (UTC)
commit d68081c7f06c8c4ae2758f3bc87d349adbdeff73
Author: Timm Bäder <mail baedert org>
Date: Sat Mar 25 09:23:36 2017 +0100
Proxycall: Remove double-assign to status_{message,code}
This is already done in finish_call and the assignent to
priv->status_message was leaking the previously set value.
rest/rest-proxy-call.c | 3 ---
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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]