diff --git a/mozilla/mailnews/imap/src/nsImapUrl.cpp b/mozilla/mailnews/imap/src/nsImapUrl.cpp index 31d3bc2ebcb..ff602ecae52 100644 --- a/mozilla/mailnews/imap/src/nsImapUrl.cpp +++ b/mozilla/mailnews/imap/src/nsImapUrl.cpp @@ -434,11 +434,14 @@ PRBool nsImapUrl::Equals(const nsIURL* aURL) const nsImapUrl* other; NS_LOCK_INSTANCE(); // are they both imap urls?? if yes...for now just compare the pointers until - // I figure out if we need to check any of the guts for equality.... + // I figure out if we need to check any of the guts for + /* if (((nsIURL*)aURL)->QueryInterface(nsIImapUrl::GetIID(), (void**)&other) == NS_OK) bIsEqual = other == this; // compare the pointers... else bIsEqual = PR_FALSE; + */ + bIsEqual = (PRBool) (((void*) aURL) == ((void*) this)); NS_UNLOCK_INSTANCE(); return bIsEqual; }