mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +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
a14190154d
commit
74fa1937cb
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…
Add table
Add a link
Reference in a new issue