diff options
author | Robert Pösel <robyer@seznam.cz> | 2013-05-10 09:55:08 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2013-05-10 09:55:08 +0000 |
commit | 443225723338ab61362ae37f7058c3f643febdf5 (patch) | |
tree | 9be1e72086ff8ae1053bc599706beb846122359b /protocols/Skype/src/skype_account.cpp | |
parent | b29ea624d53adbc50a9385c4e22d70c89a2a8e79 (diff) |
warning fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@4618 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src/skype_account.cpp')
-rw-r--r-- | protocols/Skype/src/skype_account.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Skype/src/skype_account.cpp b/protocols/Skype/src/skype_account.cpp index f0767b08fc..f834edb560 100644 --- a/protocols/Skype/src/skype_account.cpp +++ b/protocols/Skype/src/skype_account.cpp @@ -145,7 +145,7 @@ void CSkypeProto::SetAccountSettings() this->Log(L"Setting port number to %d", port);
g_skype->SetInt(SETUPKEY_PORT, port);
- bool useAlternativePorts = (bool)::db_get_b(NULL, this->m_szModuleName, "UseAlternativePorts", 1);
+ bool useAlternativePorts = ::db_get_b(NULL, this->m_szModuleName, "UseAlternativePorts", 1) > 0;
if (useAlternativePorts)
this->Log(L"Setting listening of alternative ports (80, 443)");
g_skype->SetInt(SETUPKEY_DISABLE_PORT80, (int)!useAlternativePorts);
|