From 4d494b07ecd13fa9df2cd9b34ec2a9af20997af3 Mon Sep 17 00:00:00 2001 From: "peterl%netscape.com" Date: Wed, 26 May 1999 23:41:22 +0000 Subject: [PATCH] made Equals() test ref & search too git-svn-id: svn://10.0.0.236/trunk@32791 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/network/module/nsHttpUrl.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mozilla/network/module/nsHttpUrl.cpp b/mozilla/network/module/nsHttpUrl.cpp index 0e8bb237510..2b4deba33e3 100644 --- a/mozilla/network/module/nsHttpUrl.cpp +++ b/mozilla/network/module/nsHttpUrl.cpp @@ -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();