From 99dd57aa70986c9ca36fcaff6575f8e8602f2afd 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 --- network/module/nsHttpUrl.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/network/module/nsHttpUrl.cpp b/network/module/nsHttpUrl.cpp index 0e8bb237510..2b4deba33e3 100644 --- a/network/module/nsHttpUrl.cpp +++ b/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();