diff options
-rw-r--r-- | protocols/VKontakte/src/vk_files.cpp | 6 | ||||
-rw-r--r-- | protocols/VKontakte/src/vk_pollserver.cpp | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/protocols/VKontakte/src/vk_files.cpp b/protocols/VKontakte/src/vk_files.cpp index aeb92164dc..0bdf7aefeb 100644 --- a/protocols/VKontakte/src/vk_files.cpp +++ b/protocols/VKontakte/src/vk_files.cpp @@ -18,7 +18,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #include "stdafx.h"
CVkFileUploadParam::CVkFileUploadParam(MCONTACT _hContact, const PROTOCHAR* _desc, PROTOCHAR** _files) :
-hContact(_hContact), filetype(typeInvalid), atr(NULL), fname(NULL), iErrorCode(0)
+ hContact(_hContact),
+ filetype(typeInvalid),
+ atr(NULL),
+ fname(NULL),
+ iErrorCode(0)
{
Desc = mir_tstrdup(_desc);
FileName = mir_tstrdup(_files[0]);
diff --git a/protocols/VKontakte/src/vk_pollserver.cpp b/protocols/VKontakte/src/vk_pollserver.cpp index 92c5d2d0d7..3de7451331 100644 --- a/protocols/VKontakte/src/vk_pollserver.cpp +++ b/protocols/VKontakte/src/vk_pollserver.cpp @@ -170,7 +170,7 @@ int CVkProto::PollServer() NETLIBHTTPREQUEST req = { sizeof(req) };
req.requestType = REQUEST_GET;
req.szUrl = mir_strdup(szReqUrl.GetBuffer());
- req.flags = VK_NODUMPHEADERS | NLHRF_PERSISTENT | NLHRF_HTTP11;
+ req.flags = VK_NODUMPHEADERS | NLHRF_PERSISTENT | NLHRF_HTTP11 | NLHRF_SSL;
req.timeout = 30000;
req.nlc = m_pollingConn;
|