зеркало из https://github.com/mozilla/pjs.git
check return value. it's correct and it fixes a warning too.
This commit is contained in:
Родитель
00015115b9
Коммит
a612ecf974
|
@ -2022,6 +2022,7 @@ NS_IMETHODIMP nsProfile::GetCookie(nsString& aCookie)
|
|||
nsIURI *aURL;
|
||||
|
||||
nsresult rv = NS_NewURL(&aURL, PREG_URL);
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
|
||||
nsresult res = nsServiceManager::GetService(kNetServiceCID,
|
||||
kINetServiceIID,
|
||||
|
|
Загрузка…
Ссылка в новой задаче