diff options
author | George Hazan <george.hazan@gmail.com> | 2013-11-08 13:13:58 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-11-08 13:13:58 +0000 |
commit | 9fca921c9a8e330df2a1b9042eb10a8853fe75d2 (patch) | |
tree | f8942c7d0f7638574cb86da09b736e19f9c4df67 /protocols/VKontakte/src/vk_thread.cpp | |
parent | 4bd7c58f326a14d87dc4564d9e7fdb9c3793bfa3 (diff) |
VK: fix for polling server url
git-svn-id: http://svn.miranda-ng.org/main/trunk@6826 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src/vk_thread.cpp')
-rw-r--r-- | protocols/VKontakte/src/vk_thread.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/VKontakte/src/vk_thread.cpp b/protocols/VKontakte/src/vk_thread.cpp index 361c6a667a..e33a881a71 100644 --- a/protocols/VKontakte/src/vk_thread.cpp +++ b/protocols/VKontakte/src/vk_thread.cpp @@ -504,8 +504,8 @@ int CVkProto::PollServer() NETLIBHTTPREQUEST req = { sizeof(req) };
req.requestType = REQUEST_GET;
- req.szUrl = NEWSTR_ALLOCA(CMStringA().Format("%s?act=a_check&key=%s&ts=%s&wait=25&access_token=%s", m_pollingServer, m_pollingKey, m_pollingTs, m_szAccessToken));
- req.flags = NLHRF_NODUMPHEADERS | NLHRF_HTTP11 | NLHRF_PERSISTENT;
+ req.szUrl = NEWSTR_ALLOCA(CMStringA().Format("http://%s?act=a_check&key=%s&ts=%s&wait=25&access_token=%s", m_pollingServer, m_pollingKey, m_pollingTs, m_szAccessToken));
+ req.flags = NLHRF_NODUMPHEADERS | NLHRF_PERSISTENT;
req.timeout = 30000;
req.nlc = m_pollingConn;
|