mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-29 16:01:38 +00:00
fixups for libobjc2
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29753 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
145a5670bf
commit
14b91c9052
67 changed files with 328 additions and 253 deletions
|
@ -151,13 +151,13 @@ static NSMutableDictionary *_hostCache = nil;
|
|||
{
|
||||
NSLog(@"Host '%@' init failed - perhaps the name/address is wrong or "
|
||||
@"networking is not set up on your machine", name);
|
||||
RELEASE(self);
|
||||
DESTROY(self);
|
||||
return nil;
|
||||
}
|
||||
else if (name == nil && entry != (struct hostent*)NULL)
|
||||
{
|
||||
NSLog(@"Nil hostname supplied but network database entry is not empty");
|
||||
RELEASE(self);
|
||||
DESTROY(self);
|
||||
return nil;
|
||||
}
|
||||
|
||||
|
@ -506,7 +506,7 @@ myHostName()
|
|||
host = [NSHost currentHost];
|
||||
}
|
||||
IF_NO_GC([host retain];)
|
||||
RELEASE(self);
|
||||
DESTROY(self);
|
||||
return host;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue