From 12aab78ca9748bf56f2d6be2ab6b5f7b146313ed Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Wed, 24 Apr 2013 08:55:07 +0000 Subject: small cleanup git-svn-id: http://svn.miranda-ng.org/main/trunk@4524 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Skype/src/skype_account.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'protocols/Skype/src/skype_account.cpp') diff --git a/protocols/Skype/src/skype_account.cpp b/protocols/Skype/src/skype_account.cpp index d28116a6ee..6c9d45be2a 100644 --- a/protocols/Skype/src/skype_account.cpp +++ b/protocols/Skype/src/skype_account.cpp @@ -7,7 +7,7 @@ void CSkypeProto::OnAccountChanged(int prop) case CAccount::P_STATUS: CAccount::STATUS loginStatus; this->account->GetPropStatus(loginStatus); - + if (loginStatus == CAccount::LOGGED_IN) { this->ForkThread(&CSkypeProto::SignInAsync, 0); @@ -103,14 +103,14 @@ void __cdecl CSkypeProto::SignInAsync(void*) bool CSkypeProto::PrepareLogin() { - this->login = ::db_get_wsa(NULL, this->m_szModuleName, SKYPE_SETTINGS_LOGIN); + this->login = ::db_get_wsa(NULL, this->m_szModuleName, SKYPE_SETTINGS_LOGIN); if ( !this->login || !::wcslen(this->login)) { this->m_iStatus = ID_STATUS_OFFLINE; this->SendBroadcast(ACKTYPE_LOGIN, ACKRESULT_FAILED, NULL, LOGINERR_BADUSERID); this->ShowNotification( ::TranslateT("You have not entered a Skype name.\n\ - Configure this in Options->Network->Skype and try again.")); + Configure this in Options->Network->Skype and try again.")); return false; } @@ -146,7 +146,7 @@ bool CSkypeProto::PreparePassword() this->rememberPassword = param.rememberPassword; } } - else + else ::CallService(MS_DB_CRYPT_DECODESTRING, ::strlen(this->password), (LPARAM)this->password); } -- cgit v1.2.3