fixed compilation with RS_AUTO_LOGIN

This commit is contained in:
csoler 2018-08-01 23:04:20 +02:00
parent 77d5dfe18d
commit 985be3504e
No known key found for this signature in database
GPG Key ID: 7BCA522266C0804C

View File

@ -657,7 +657,7 @@ int RsInit::LoadCertificates(bool autoLoginNT)
bool RsInit::RsClearAutoLogin()
{
RsPeerId preferredId;
if (!RsAccounts::getSelectedAccountId(preferredId))
if (!RsAccounts::GetPreferredAccountId(preferredId))
{
std::cerr << "RsInit::RsClearAutoLogin() No Account Selected" << std::endl;
return 0;