diff options
author | Robert Pösel <robyer@seznam.cz> | 2015-12-19 14:33:19 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2015-12-19 14:33:19 +0000 |
commit | 39047df03b5a2ffaa1f2e9896aca97d4feb068bb (patch) | |
tree | 6df8a595ca01ac0b6072083804aec83efc816122 /protocols/Steam/src/steam_contacts.cpp | |
parent | 2ebd5786b7c0b0be6f06ae0c9dd44526f34cba9c (diff) |
Steam: Fix wrong type of argument in callbacks (use HttpResponse instead of NETLIBHTTPREQUEST)
git-svn-id: http://svn.miranda-ng.org/main/trunk@15892 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Steam/src/steam_contacts.cpp')
-rw-r--r-- | protocols/Steam/src/steam_contacts.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/protocols/Steam/src/steam_contacts.cpp b/protocols/Steam/src/steam_contacts.cpp index 907aece0fe..13e9a522c5 100644 --- a/protocols/Steam/src/steam_contacts.cpp +++ b/protocols/Steam/src/steam_contacts.cpp @@ -358,7 +358,7 @@ void CSteamProto::ProcessContact(std::map<std::string, JSONNode*>::iterator *it, } } -void CSteamProto::OnGotFriendList(const NETLIBHTTPREQUEST *response) +void CSteamProto::OnGotFriendList(const HttpResponse *response) { if (!CheckResponse(response)) return; @@ -443,7 +443,7 @@ void CSteamProto::OnGotFriendList(const NETLIBHTTPREQUEST *response) } } -void CSteamProto::OnGotBlockList(const NETLIBHTTPREQUEST *response) +void CSteamProto::OnGotBlockList(const HttpResponse *response) { if (!CheckResponse(response)) return; @@ -487,7 +487,7 @@ void CSteamProto::OnGotBlockList(const NETLIBHTTPREQUEST *response) } } -void CSteamProto::OnGotUserSummaries(const NETLIBHTTPREQUEST *response) +void CSteamProto::OnGotUserSummaries(const HttpResponse *response) { if (!CheckResponse(response)) return; @@ -522,7 +522,7 @@ void CSteamProto::OnGotUserSummaries(const NETLIBHTTPREQUEST *response) } } -void CSteamProto::OnGotAvatar(const NETLIBHTTPREQUEST *response, void *arg) +void CSteamProto::OnGotAvatar(const HttpResponse *response, void *arg) { PROTO_AVATAR_INFORMATION ai = { 0 }; ai.hContact = (UINT_PTR)arg; @@ -551,7 +551,7 @@ void CSteamProto::OnGotAvatar(const NETLIBHTTPREQUEST *response, void *arg) } } -void CSteamProto::OnFriendAdded(const NETLIBHTTPREQUEST *response, void *arg) +void CSteamProto::OnFriendAdded(const HttpResponse *response, void *arg) { SendAuthParam *param = (SendAuthParam*)arg; @@ -572,7 +572,7 @@ void CSteamProto::OnFriendAdded(const NETLIBHTTPREQUEST *response, void *arg) ProtoBroadcastAck(param->hContact, ACKTYPE_AUTHREQ, ACKRESULT_SUCCESS, param->hAuth, 0); } -void CSteamProto::OnFriendBlocked(const NETLIBHTTPREQUEST *response, void *arg) +void CSteamProto::OnFriendBlocked(const HttpResponse *response, void *arg) { if (!response || response->resultCode != HTTP_CODE_OK || lstrcmpiA(response->pData, "true")) { @@ -581,7 +581,7 @@ void CSteamProto::OnFriendBlocked(const NETLIBHTTPREQUEST *response, void *arg) } } -void CSteamProto::OnFriendRemoved(const NETLIBHTTPREQUEST *response, void *arg) +void CSteamProto::OnFriendRemoved(const HttpResponse *response, void *arg) { if (!response || response->resultCode != HTTP_CODE_OK || lstrcmpiA(response->pData, "true")) { @@ -593,7 +593,7 @@ void CSteamProto::OnFriendRemoved(const NETLIBHTTPREQUEST *response, void *arg) } } -void CSteamProto::OnAuthRequested(const NETLIBHTTPREQUEST *response, void *arg) +void CSteamProto::OnAuthRequested(const HttpResponse *response, void *arg) { if (!ResponseHttpOk(response)) { @@ -661,7 +661,7 @@ void CSteamProto::OnAuthRequested(const NETLIBHTTPREQUEST *response, void *arg) json_delete(nodes); } -void CSteamProto::OnPendingApproved(const NETLIBHTTPREQUEST *response, void *arg) +void CSteamProto::OnPendingApproved(const HttpResponse *response, void *arg) { if (!ResponseHttpOk(response)) { @@ -681,7 +681,7 @@ void CSteamProto::OnPendingApproved(const NETLIBHTTPREQUEST *response, void *arg } } -void CSteamProto::OnPendingIgnoreded(const NETLIBHTTPREQUEST *response, void *arg) +void CSteamProto::OnPendingIgnoreded(const HttpResponse *response, void *arg) { if (!ResponseHttpOk(response)) { @@ -701,7 +701,7 @@ void CSteamProto::OnPendingIgnoreded(const NETLIBHTTPREQUEST *response, void *ar } } -void CSteamProto::OnSearchByIdEnded(const NETLIBHTTPREQUEST *response, void *arg) +void CSteamProto::OnSearchByIdEnded(const HttpResponse *response, void *arg) { if (!ResponseHttpOk(response)) { @@ -756,7 +756,7 @@ void CSteamProto::OnSearchByIdEnded(const NETLIBHTTPREQUEST *response, void *arg json_delete(nodes); } -void CSteamProto::OnSearchByNameStarted(const NETLIBHTTPREQUEST *, void *) +void CSteamProto::OnSearchByNameStarted(const HttpResponse *, void *) { } |