summaryrefslogtreecommitdiff
path: root/protocols/Steam/src/steam_login.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-08-02 20:42:43 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-08-02 20:42:43 +0000
commit419e301b09de1935ab61f9a28363bb375fc7e208 (patch)
tree1f94bd57ff7482b4b11c5a206bbad6bbd52531f0 /protocols/Steam/src/steam_login.cpp
parent32a70bf6533a4207324e0443463a3c12ece03672 (diff)
Steam:
- fixed bug with default group creation - added HttpResponse - version bump git-svn-id: http://svn.miranda-ng.org/main/trunk@14824 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Steam/src/steam_login.cpp')
-rw-r--r--protocols/Steam/src/steam_login.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Steam/src/steam_login.cpp b/protocols/Steam/src/steam_login.cpp
index e52455a4d5..52345fef00 100644
--- a/protocols/Steam/src/steam_login.cpp
+++ b/protocols/Steam/src/steam_login.cpp
@@ -160,11 +160,11 @@ void CSteamProto::OnAuthorizationError(const JSONNode &node)
std::string captchaId = node["captcha_gid"].as_string();
GetCaptchaRequest *request = new GetCaptchaRequest(captchaId.c_str());
- NETLIBHTTPREQUEST *response = request->Send(m_hNetlibUser);
+ HttpResponse *response = request->Send(m_hNetlibUser);
delete request;
CSteamCaptchaDialog captchaDialog(this, (BYTE*)response->pData, response->dataLength);
- CallService(MS_NETLIB_FREEHTTPREQUESTSTRUCT, 0, (LPARAM)response);
+ delete response;
if (!captchaDialog.DoModal())
{
delSetting("CaptchaId");