Fix bad equality comparisons ...

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23084 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2006-06-19 12:01:13 +00:00
parent 3cb13baa1c
commit aa858059f5

View file

@ -170,11 +170,11 @@ authenticationMethod: (NSString *)authenticationMethod
{
NSURLProtectionSpace *o = (NSURLProtectionSpace*)other;
if (![[self host] isEqual: [o host]] == NO)
if ([[self host] isEqual: [o host]] == NO)
{
return NO;
}
if (![[self realm] isEqual: [o realm]] == NO)
if ([[self realm] isEqual: [o realm]] == NO)
{
return NO;
}
@ -182,7 +182,7 @@ authenticationMethod: (NSString *)authenticationMethod
{
return NO;
}
if (![[self authenticationMethod] isEqual: [o authenticationMethod]])
if ([[self authenticationMethod] isEqual: [o authenticationMethod]] == NO)
{
return NO;
}