summaryrefslogtreecommitdiff
path: root/protocols/MSN/src/msn_auth.cpp
diff options
context:
space:
mode:
authorPiotr Piastucki <leech.miranda@gmail.com>2015-05-19 21:00:49 +0000
committerPiotr Piastucki <leech.miranda@gmail.com>2015-05-19 21:00:49 +0000
commit38a93d167307c8d1912abeaf32182abe97a03598 (patch)
tree2602113bb73b15a4cd1a272a2d8464d60141c844 /protocols/MSN/src/msn_auth.cpp
parent05463e65c1fa74da551b9acf701366e185e516fc (diff)
Fixed some memleaks.
Added contact list exchange feature. git-svn-id: http://svn.miranda-ng.org/main/trunk@13704 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MSN/src/msn_auth.cpp')
-rw-r--r--protocols/MSN/src/msn_auth.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/MSN/src/msn_auth.cpp b/protocols/MSN/src/msn_auth.cpp
index 37167b7279..c2ca13612b 100644
--- a/protocols/MSN/src/msn_auth.cpp
+++ b/protocols/MSN/src/msn_auth.cpp
@@ -781,6 +781,7 @@ int CMsnProto::MSN_AuthOAuth(void)
mHttpsTS = clock();
nlhr.dataLength = (int)strlen(post);
nlhr.pData = (char*)(const char*)post;
+ nlhr.nlc = hHttpsConnection;
NETLIBHTTPREQUEST *nlhrReply2 = (NETLIBHTTPREQUEST*)CallService(MS_NETLIB_HTTPTRANSACTION, (WPARAM)hNetlibUserHttps, (LPARAM)&nlhr);
CallService(MS_NETLIB_FREEHTTPREQUESTSTRUCT, 0, (LPARAM)nlhrReply);
nlhrReply = nlhrReply2;
@@ -845,6 +846,7 @@ int CMsnProto::MSN_AuthOAuth(void)
nlhr.pData = "{\"trouterurl\":\"https://\",\"connectionid\":\"a\"}";
nlhr.dataLength = (int)strlen(nlhr.pData);
nlhr.szUrl = "https://skypewebexperience.live.com/v1/User/Initialization";
+ nlhr.nlc = hHttpsConnection;
/* Request MappingContainer */
mHttpsTS = clock();