Clean up an nsnull comparison.

This commit is contained in:
ebina%netscape.com 1999-02-18 17:02:49 +00:00
parent b01dc22f0f
commit 3aade9514b

View File

@ -47,8 +47,10 @@ NS_IMPL_RELEASE(nsNetConverterStream);
nsresult nsNetConverterStream :: QueryInterface(const nsIID& aIID,
void** aInstancePtrResult)
{
if (nsnull == aInstancePtrResult)
if (!aInstancePtrResult)
{
return NS_ERROR_NULL_POINTER;
}
if (aIID.Equals(kISupportsIID))
{