summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2012-12-13 17:55:50 +0000
committerKirill Volinsky <mataes2007@gmail.com>2012-12-13 17:55:50 +0000
commit50d088dcd575d66cf5daa556b91721e8c64593ed (patch)
tree085da06e5adce5620d20e2ae891fea7c37842539
parentdf73b793befa8969fba27356c0370dec16894fcd (diff)
fixed crash with NULL password
git-svn-id: http://svn.miranda-ng.org/main/trunk@2738 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-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 ff74f47a61..a9e95a4df8 100644
--- a/protocols/Skype/src/skype_proto.cpp
+++ b/protocols/Skype/src/skype_proto.cpp
@@ -387,7 +387,7 @@ bool CSkypeProto::SignIn(bool isReadPassword)
{
if (isReadPassword)
this->password = this->GetDecodeSettingString(NULL, SKYPE_SETTINGS_PASSWORD);
- if ( !::strcmp(this->password, ""))
+ if ( !::lstrcmpA(this->password, ""))
this->RequestPassword();
else
{