зеркало из https://github.com/mozilla/gecko-dev.git
if we aren't returning an account, we need to return a failure code.
This commit is contained in:
Родитель
8f8ead89d9
Коммит
ed1120c53f
|
@ -748,7 +748,7 @@ nsMsgAccountManager::GetDefaultAccount(nsIMsgAccount * *aDefaultAccount)
|
|||
#endif
|
||||
if (count == 0) {
|
||||
*aDefaultAccount=nsnull;
|
||||
return NS_OK;
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
|
||||
nsCOMPtr<nsISupports> element;
|
||||
|
|
Загрузка…
Ссылка в новой задаче