fix logon error from uninitialzed out param in some situations when remember password turned on, r/sr=mscott 185186

This commit is contained in:
bienvenu%nventure.com 2003-10-30 23:16:32 +00:00
Родитель 74bf975468
Коммит 39c234af0e
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -811,7 +811,10 @@ nsMsgIncomingServer::GetPasswordWithUI(const PRUnichar * aPromptMessage, const
// Get password entry corresponding to the host URI we are passing in.
if (NS_SUCCEEDED(passwordMgrInt->FindPasswordEntry(currServerUri, NS_LITERAL_STRING(""), NS_LITERAL_STRING(""),
hostFound, userNameFound, passwordFound)))
{
m_password.AssignWithConversion(passwordFound);
*okayValue = PR_TRUE;
}
}
}
if (m_password.IsEmpty())