summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/skype_proto.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-06-06 22:28:16 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-06-06 22:28:16 +0000
commit387259e6c1c0efb36d4b849b837f2709f061391d (patch)
tree08976c712a55710c9b3eaa9fea8b4bac048f219b /protocols/SkypeWeb/src/skype_proto.cpp
parenteefc7846e7379932910cf60d0fceff56f8029478 (diff)
dozen of mem leaks fixed in SkypeWeb
git-svn-id: http://svn.miranda-ng.org/main/trunk@14034 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/skype_proto.cpp')
-rw-r--r--protocols/SkypeWeb/src/skype_proto.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/SkypeWeb/src/skype_proto.cpp b/protocols/SkypeWeb/src/skype_proto.cpp
index 4b72a863ee..6d56dd99c7 100644
--- a/protocols/SkypeWeb/src/skype_proto.cpp
+++ b/protocols/SkypeWeb/src/skype_proto.cpp
@@ -224,7 +224,7 @@ int CSkypeProto::SetStatus(int iNewStatus)
if (m_iStatus > ID_STATUS_CONNECTING + 1)
{
- SendRequest(new DeleteEndpointRequest(RegToken, EndpointId, Server));
+ SendRequest(new DeleteEndpointRequest(m_szRegToken, m_szEndpointId, m_szServer));
delSetting("registrationRoken");
delSetting("endpointId");
delSetting("expires");
@@ -259,7 +259,7 @@ int CSkypeProto::SetStatus(int iNewStatus)
}
else
{
- SendRequest(new SetStatusRequest(RegToken, MirandaToSkypeStatus(m_iDesiredStatus)), &CSkypeProto::OnStatusChanged);
+ SendRequest(new SetStatusRequest(m_szRegToken, MirandaToSkypeStatus(m_iDesiredStatus)), &CSkypeProto::OnStatusChanged);
}
}
@@ -269,7 +269,7 @@ int CSkypeProto::SetStatus(int iNewStatus)
int CSkypeProto::UserIsTyping(MCONTACT hContact, int type)
{
- SendRequest(new SendTypingRequest(RegToken, ptrA(getStringA(hContact, SKYPE_SETTINGS_ID)), type, Server));
+ SendRequest(new SendTypingRequest(m_szRegToken, ptrA(getStringA(hContact, SKYPE_SETTINGS_ID)), type, m_szServer));
return 0;
}