summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2012-10-01 05:01:21 +0000
committerAlexander Lantsev <aunsane@gmail.com>2012-10-01 05:01:21 +0000
commit7c5e4c0cc56d1ed56e05368960320b7df22ce889 (patch)
treec25aefac7efbd719957feffa69547c27cc2ce8d1 /protocols
parentcff253668f6805beea2c98afa8296b407e8d2106 (diff)
- fixed crash on mirandaShutdown
git-svn-id: http://svn.miranda-ng.org/main/trunk@1734 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols')
-rw-r--r--protocols/Skype/src/skype.cpp2
-rw-r--r--protocols/Skype/src/skype_proto.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Skype/src/skype.cpp b/protocols/Skype/src/skype.cpp
index 63d19f8077..5254eaebf0 100644
--- a/protocols/Skype/src/skype.cpp
+++ b/protocols/Skype/src/skype.cpp
@@ -26,7 +26,7 @@ static int compare_protos(const CSkypeProto *p1, const CSkypeProto *p2)
return _tcscmp(p1->m_tszUserName, p2->m_tszUserName);
}
-OBJLIST<CSkypeProto> g_Instances(1, compare_protos);
+LIST<CSkypeProto> g_Instances(1, compare_protos);
DWORD WINAPI DllMain(HINSTANCE hInstance, DWORD, LPVOID)
{
diff --git a/protocols/Skype/src/skype_proto.cpp b/protocols/Skype/src/skype_proto.cpp
index 0490caa17e..962dce0167 100644
--- a/protocols/Skype/src/skype_proto.cpp
+++ b/protocols/Skype/src/skype_proto.cpp
@@ -30,7 +30,7 @@ CSkypeProto::CSkypeProto(const char* protoName, const TCHAR* userName)
CSkypeProto::~CSkypeProto()
{
- //Netlib_CloseHandle(this->hNetlibUser);
+ Netlib_CloseHandle(this->hNetlibUser);
this->hNetlibUser = NULL;
CloseHandle(this->signin_lock);