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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user