From 50d088dcd575d66cf5daa556b91721e8c64593ed Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Thu, 13 Dec 2012 17:55:50 +0000 Subject: fixed crash with NULL password git-svn-id: http://svn.miranda-ng.org/main/trunk@2738 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Skype/src/skype_proto.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/Skype/src/skype_proto.cpp') 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 { -- cgit v1.2.3