Oops... don't compare against nsnull.

git-svn-id: svn://10.0.0.236/trunk@29631 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rjc%netscape.com
1999-04-28 01:01:06 +00:00
parent c4a018ffc7
commit 91cba4aede

View File

@@ -1193,7 +1193,7 @@ BookmarkDataSourceImpl::WriteBookmarksContainer(nsIRDFDataSource *ds, nsOutputFi
if (NS_FAILED(rv = children->GetNext(getter_AddRefs(iSupports)))) break;
nsCOMPtr<nsIRDFResource> child = do_QueryInterface(iSupports);
if (nsnull == child) break;
if (!child) break;
PRBool isIERoot = PR_FALSE, isContainer = PR_FALSE;
if (NS_SUCCEEDED(child->EqualsResource(kNC_IEFavoritesRoot, &isIERoot)))