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:
rfm 2006-06-19 12:01:13 +00:00
parent a14190154d
commit 74fa1937cb

View file

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