remove error output for non-error conditions

This commit is contained in:
peterl%netscape.com 1999-09-03 23:38:40 +00:00
Родитель 1b015c684b
Коммит e9991bb140
3 изменённых файлов: 3 добавлений и 3 удалений

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

@ -792,7 +792,7 @@ CSSLoaderImpl::DidLoadStyle(nsIUnicharStreamLoader* aLoader,
}
}
else { // load failed or document now gone, cleanup
if (mDocument) { // still have doc, must have failed
if (mDocument && NS_FAILED(aStatus)) { // still have doc, must have failed
// Dump error message to console.
#ifdef NECKO
char *url;

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

@ -792,7 +792,7 @@ CSSLoaderImpl::DidLoadStyle(nsIUnicharStreamLoader* aLoader,
}
}
else { // load failed or document now gone, cleanup
if (mDocument) { // still have doc, must have failed
if (mDocument && NS_FAILED(aStatus)) { // still have doc, must have failed
// Dump error message to console.
#ifdef NECKO
char *url;

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

@ -792,7 +792,7 @@ CSSLoaderImpl::DidLoadStyle(nsIUnicharStreamLoader* aLoader,
}
}
else { // load failed or document now gone, cleanup
if (mDocument) { // still have doc, must have failed
if (mDocument && NS_FAILED(aStatus)) { // still have doc, must have failed
// Dump error message to console.
#ifdef NECKO
char *url;