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:
Richard Frith-MacDonald 2012-01-24 09:43:15 +00:00
parent 85463ec8a2
commit 566d9571f1
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;