made Equals() test ref & search too

git-svn-id: svn://10.0.0.236/trunk@32791 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
peterl%netscape.com
1999-05-26 23:41:22 +00:00
parent ca3c4a9b18
commit 4d494b07ec

View File

@@ -672,7 +672,9 @@ PRBool nsHttpUrlImpl::Equals(const nsIURL* aURL) const
nsHttpUrlImpl* other = (nsHttpUrlImpl*)otherURL;
bIsEqual = PRBool((0 == PL_strcmp(mProtocol, other->mProtocol)) &&
(0 == PL_strcasecmp(mHost, other->mHost)) &&
(0 == PL_strcmp(mFile, other->mFile)));
(0 == PL_strcmp(mFile, other->mFile)) &&
(0 == PL_strcmp(mRef, other->mRef)) &&
(0 == PL_strcmp(mSearch, other->mSearch)));
NS_RELEASE(otherURL);
}
NS_UNLOCK_INSTANCE();