Bug 462800. Fix test bustage by making sure to test the right thing

This commit is contained in:
Boris Zbarsky 2008-11-26 18:36:01 -05:00
parent 89f9f544a8
commit 28ace2e360

View File

@ -846,7 +846,7 @@ GetPrincipalURIAndHost(nsIPrincipal* aPrincipal, nsIURI** aURI, nsString& aHost)
NS_ENSURE_SUCCESS(rv, rv);
}
if (*aURI) {
if (!*aURI) {
return NS_OK;
}