mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 08:26:27 +00:00
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:
parent
3cb13baa1c
commit
aa858059f5
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue