diff options
author | Rob Bradford <rob@linux.intel.com> | 2010-09-06 12:03:59 +0100 |
---|---|---|
committer | Rob Bradford <rob@linux.intel.com> | 2010-09-06 12:10:29 +0100 |
commit | 70743a182cc650efa40291f091023cff7ea5d20b (patch) | |
tree | 7b6c6cf966cfc3bb30cdbd59d993662f643e23fd | |
parent | e7934a3f764313bc96b4c56c06cfc778f13bfbe4 (diff) |
proxy-call: The status code for the request is fetched from the message
Therefore we don't need to save the return value from
soup_session_send_message ().
-rw-r--r-- | rest/rest-proxy-call.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/rest/rest-proxy-call.c b/rest/rest-proxy-call.c index 7b57cb6..baacb77 100644 --- a/rest/rest-proxy-call.c +++ b/rest/rest-proxy-call.c @@ -1075,7 +1075,6 @@ rest_proxy_call_sync (RestProxyCall *call, { RestProxyCallPrivate *priv; SoupMessage *message; - guint status; gboolean ret; g_return_val_if_fail (REST_IS_PROXY_CALL (call), FALSE); @@ -1086,7 +1085,7 @@ rest_proxy_call_sync (RestProxyCall *call, if (!message) return FALSE; - status = _rest_proxy_send_message (priv->proxy, message); + _rest_proxy_send_message (priv->proxy, message); ret = finish_call (call, message, error_out); |