summaryrefslogtreecommitdiff
path: root/protocols/Steam/src/http_request.h
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2015-12-19 14:33:19 +0000
committerRobert Pösel <robyer@seznam.cz>2015-12-19 14:33:19 +0000
commit39047df03b5a2ffaa1f2e9896aca97d4feb068bb (patch)
tree6df8a595ca01ac0b6072083804aec83efc816122 /protocols/Steam/src/http_request.h
parent2ebd5786b7c0b0be6f06ae0c9dd44526f34cba9c (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/http_request.h')
-rw-r--r--protocols/Steam/src/http_request.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Steam/src/http_request.h b/protocols/Steam/src/http_request.h
index 30d1e307be..b4ec512e1a 100644
--- a/protocols/Steam/src/http_request.h
+++ b/protocols/Steam/src/http_request.h
@@ -152,11 +152,11 @@ public:
};
-bool __forceinline ResponseHttpOk(const NETLIBHTTPREQUEST *response) {
+bool __forceinline ResponseHttpOk(const HttpResponse *response) {
return (response && response->pData && (response->resultCode == HTTP_CODE_OK));
}
-bool __forceinline CheckResponse(const NETLIBHTTPREQUEST *response) {
+bool __forceinline CheckResponse(const HttpResponse *response) {
return (response && response->pData);
}