summaryrefslogtreecommitdiff
path: root/protocols/Steam/src/request_queue.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Steam/src/request_queue.cpp')
-rw-r--r--protocols/Steam/src/request_queue.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/protocols/Steam/src/request_queue.cpp b/protocols/Steam/src/request_queue.cpp
index c419ffbd26..12f9beb61c 100644
--- a/protocols/Steam/src/request_queue.cpp
+++ b/protocols/Steam/src/request_queue.cpp
@@ -72,10 +72,9 @@ void RequestQueue::Send(HttpRequest *request, HttpResponseCallback response, voi
void RequestQueue::Execute(RequestQueueItem *item)
{
- NETLIBHTTPREQUEST *response = item->request->Send(hConnection);
+ HttpResponse *response = item->request->Send(hConnection);
if (item->responseCallback != NULL)
item->responseCallback(response, item->arg);
- CallService(MS_NETLIB_FREEHTTPREQUESTSTRUCT, 0, (LPARAM)response);
if (item->finallyCallback != NULL)
item->finallyCallback(item->arg);
delete item;