Fixed error code.

git-svn-id: svn://10.0.0.236/trunk@78848 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
warren%netscape.com
2000-09-12 05:11:11 +00:00
parent fb765afaa7
commit e8ba31ee50
2 changed files with 2 additions and 2 deletions

View File

@@ -691,7 +691,7 @@ nsJARChannel::GetContentType(char* *aContentType)
nsCRT::free(fileName);
}
else {
rv = NS_ERROR_FAILURE;
rv = NS_ERROR_OUT_OF_MEMORY;
}
if (NS_FAILED(rv)) {

View File

@@ -691,7 +691,7 @@ nsJARChannel::GetContentType(char* *aContentType)
nsCRT::free(fileName);
}
else {
rv = NS_ERROR_FAILURE;
rv = NS_ERROR_OUT_OF_MEMORY;
}
if (NS_FAILED(rv)) {