diff options
author | George Hazan <ghazan@miranda.im> | 2017-01-12 19:44:03 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-01-12 19:44:03 +0300 |
commit | 3b55ee911e8e2186c2d72e03874307d3aec91b8c (patch) | |
tree | e315381ed43ecd0af9771852e31d45e92dfadd49 /protocols/Steam | |
parent | c74c7fe3605d7426afb6b6436d4ebaa978f34c2f (diff) |
- stronger types, part II;
- don't call hNetlibUser hConnection
Diffstat (limited to 'protocols/Steam')
-rw-r--r-- | protocols/Steam/src/http_request.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/Steam/src/http_request.h b/protocols/Steam/src/http_request.h index fbbd7d3e84..60d3c1b403 100644 --- a/protocols/Steam/src/http_request.h +++ b/protocols/Steam/src/http_request.h @@ -140,13 +140,13 @@ public: mir_free(pData); } - HttpResponse* Send(HANDLE hConnection) + HttpResponse* Send(HNETLIBUSER nlu) { szUrl = m_url.GetBuffer(); - Netlib_Logf(Netlib_GetConnNlu(hConnection), "Send request to %s", szUrl); + Netlib_Logf(nlu, "Send request to %s", szUrl); - NETLIBHTTPREQUEST* response = (NETLIBHTTPREQUEST*)CallService(MS_NETLIB_HTTPTRANSACTION, (WPARAM)hConnection, (LPARAM)this); + NETLIBHTTPREQUEST* response = (NETLIBHTTPREQUEST*)CallService(MS_NETLIB_HTTPTRANSACTION, (WPARAM)nlu, (LPARAM)this); HttpResponse* result = new HttpResponse(response, this); CallService(MS_NETLIB_FREEHTTPREQUESTSTRUCT, 0, (LPARAM)response); |