From 38a93d167307c8d1912abeaf32182abe97a03598 Mon Sep 17 00:00:00 2001 From: Piotr Piastucki Date: Tue, 19 May 2015 21:00:49 +0000 Subject: Fixed some memleaks. Added contact list exchange feature. git-svn-id: http://svn.miranda-ng.org/main/trunk@13704 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/MSN/src/msn_auth.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'protocols/MSN/src/msn_auth.cpp') 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(); -- cgit v1.2.3