Bug 588503 - Don't compare PRBool to nsnull in cookies; r=sdwilsh approval2.0=jst

This commit is contained in:
Ms2ger 2010-08-25 15:15:37 +02:00
parent 4eff02334f
commit 1dfccaacbb

View File

@ -2248,7 +2248,7 @@ nsCookieService::AddInternal(const nsCString &aBaseDomain,
NotifyChanged(aCookie, foundCookie ? NS_LITERAL_STRING("changed").get()
: NS_LITERAL_STRING("added").get());
COOKIE_LOGSUCCESS(SET_COOKIE, aHostURI, aCookieHeader, aCookie, foundCookie != nsnull);
COOKIE_LOGSUCCESS(SET_COOKIE, aHostURI, aCookieHeader, aCookie, foundCookie);
}
/******************************************************************************