From 74fa1937cb94ff4d2cf071be5288cb61918c4002 Mon Sep 17 00:00:00 2001 From: rfm Date: Mon, 19 Jun 2006 12:01:13 +0000 Subject: [PATCH] Fix bad equality comparisons ... git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23084 72102866-910b-0410-8b05-ffd578937521 --- Source/NSURLProtectionSpace.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/NSURLProtectionSpace.m b/Source/NSURLProtectionSpace.m index b611c3ef3..e739a400a 100644 --- a/Source/NSURLProtectionSpace.m +++ b/Source/NSURLProtectionSpace.m @@ -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; }