if we aren't returning an account, we need to return a failure code.

This commit is contained in:
sspitzer%netscape.com 1999-09-11 22:56:00 +00:00
Родитель 8f8ead89d9
Коммит ed1120c53f
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -748,7 +748,7 @@ nsMsgAccountManager::GetDefaultAccount(nsIMsgAccount * *aDefaultAccount)
#endif
if (count == 0) {
*aDefaultAccount=nsnull;
return NS_OK;
return NS_ERROR_FAILURE;
}
nsCOMPtr<nsISupports> element;