summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/skype_proto.cpp
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2015-08-22 19:43:06 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2015-08-22 19:43:06 +0000
commit15dfb1f918233b5f083a02fc01c264889ee90351 (patch)
tree045e3326ca6c0e8a37e20173b07d4fac8614b44d /protocols/SkypeWeb/src/skype_proto.cpp
parent793ed2c300803e66baf0e39559cf6cc71e4766b2 (diff)
SkypeWeb:reverted previous commit
git-svn-id: http://svn.miranda-ng.org/main/trunk@15014 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, 2 insertions, 4 deletions
diff --git a/protocols/SkypeWeb/src/skype_proto.cpp b/protocols/SkypeWeb/src/skype_proto.cpp
index f4bdb7aac9..24b1cf110a 100644
--- a/protocols/SkypeWeb/src/skype_proto.cpp
+++ b/protocols/SkypeWeb/src/skype_proto.cpp
@@ -49,7 +49,6 @@ CSkypeProto::CSkypeProto(const char* protoName, const TCHAR* userName) :
SkinAddNewSoundEx("skype_call_canceled", "SkypeWeb", LPGEN("Incoming call canceled sound"));
m_hTrouterEvent = CreateEvent(NULL, FALSE, FALSE, NULL);
- m_hLoginEvent = CreateEvent(NULL, FALSE, FALSE, NULL);
SkypeSetTimer();
}
@@ -63,8 +62,7 @@ CSkypeProto::~CSkypeProto()
UninitPopups();
CloseHandle(m_hTrouterEvent); m_hTrouterEvent = NULL;
- CloseHandle(m_hLoginEvent); m_hLoginEvent = NULL;
-
+
SkypeUnsetTimer();
}
@@ -237,7 +235,7 @@ int CSkypeProto::SetStatus(int iNewStatus)
if (old_status == ID_STATUS_OFFLINE && m_iStatus == ID_STATUS_OFFLINE)
{
- ForkThread(&CSkypeProto::Login, NULL);
+ Login();
}
else
{