summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2012-12-13 17:04:14 +0000
committerKirill Volinsky <mataes2007@gmail.com>2012-12-13 17:04:14 +0000
commitdf1635617066c130b99d09ced0121b8bfb7b35b8 (patch)
treea62a8867ac85a34b9eeaeb41623a1c08172aa8f0 /protocols
parentac54207d16ea05f06007e8802b39ab52106262ca (diff)
fixed crash with empty login
git-svn-id: http://svn.miranda-ng.org/main/trunk@2736 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols')
-rw-r--r--protocols/Skype/src/skype_proto.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Skype/src/skype_proto.cpp b/protocols/Skype/src/skype_proto.cpp
index 1ca8720ea3..3f24e26de0 100644
--- a/protocols/Skype/src/skype_proto.cpp
+++ b/protocols/Skype/src/skype_proto.cpp
@@ -373,7 +373,7 @@ void __cdecl CSkypeProto::SignInAsync(void*)
bool CSkypeProto::SignIn(bool isReadPassword)
{
- if (::wcscmp(this->login, L"") == 0)
+ if (!this->login)
{
this->m_iStatus = ID_STATUS_OFFLINE;
this->SendBroadcast(ACKTYPE_LOGIN, ACKRESULT_FAILED, NULL, LOGINERR_BADUSERID);