mirror of
https://github.com/gnustep/libs-ec.git
synced 2025-02-23 03:41:23 +00:00
hostname fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/ec/trunk@38194 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
2bc684f765
commit
5b389481e6
2 changed files with 2 additions and 2 deletions
|
@ -1762,7 +1762,7 @@ static NSString* cmdWord(NSArray* a, unsigned int pos)
|
|||
{
|
||||
exit(0);
|
||||
}
|
||||
host = RETAIN([[NSHost currentHost] name]);
|
||||
host = RETAIN([[NSHost currentHost] wellKnownName]);
|
||||
clients = [[NSMutableArray alloc] initWithCapacity: 10];
|
||||
launches = [[NSMutableDictionary alloc] initWithCapacity: 10];
|
||||
launching = [[NSMutableSet alloc] initWithCapacity: 10];
|
||||
|
|
|
@ -770,7 +770,7 @@ static BOOL commandIsRepeat (NSString *string)
|
|||
}
|
||||
if (nil != (host = [NSHost controlWellKnownName]))
|
||||
{
|
||||
host = [[NSHost hostWithWellKnownName: host] name];
|
||||
host = [[NSHost hostWithWellKnownName: host] wellKnownName];
|
||||
}
|
||||
if (nil == host)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue