diff options
author | George Hazan <george.hazan@gmail.com> | 2014-01-12 11:59:23 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-01-12 11:59:23 +0000 |
commit | e528a508b7e307bd35b142b269a0bbd1b6813e89 (patch) | |
tree | e7e0a45738745420c563b141398e60d51558b46c /protocols/VKontakte/src/vk_avatars.cpp | |
parent | 484267e90233bcef4ed9bda249053f5657b3974d (diff) |
VKontakte:
- completely rewritten schema of pushing requests;
- typed http parameters insted of old strings
git-svn-id: http://svn.miranda-ng.org/main/trunk@7613 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src/vk_avatars.cpp')
-rw-r--r-- | protocols/VKontakte/src/vk_avatars.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/VKontakte/src/vk_avatars.cpp b/protocols/VKontakte/src/vk_avatars.cpp index f97fb430e5..f953e85eb0 100644 --- a/protocols/VKontakte/src/vk_avatars.cpp +++ b/protocols/VKontakte/src/vk_avatars.cpp @@ -78,11 +78,11 @@ INT_PTR CVkProto::SvcGetAvatarInfo(WPARAM wParam, LPARAM lParam) if ( IsOnline()) {
AsyncHttpRequest *pReq = new AsyncHttpRequest();
pReq->flags = NLHRF_NODUMP | NLHRF_REDIRECT;
- pReq->szUrl = mir_strdup(szUrl);
+ pReq->m_szUrl = szUrl;
pReq->pUserInfo = (char*)AI->hContact;
pReq->m_pFunc = &CVkProto::OnReceiveAvatar;
pReq->requestType = REQUEST_GET;
- PushAsyncHttpRequest(pReq);
+ Push(pReq);
debugLogA("Requested to read an avatar from '%s'", szUrl);
return GAIR_WAITFOR;
|