OSX compat tweak

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34621 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2012-01-24 09:43:15 +00:00
parent 564bbf5fec
commit ca98447111
2 changed files with 6 additions and 2 deletions

View file

@ -188,9 +188,9 @@ typedef struct {
{
if ([URL isKindOfClass: [NSURL class]] == NO)
{
DESTROY(self);
URL = nil;
}
else if ((self = [super init]) != nil)
if ((self = [super init]) != nil)
{
this->URL = RETAIN(URL);
this->cachePolicy = cachePolicy;