mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-20 20:26:42 +00:00
GDNC fixups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@13061 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
07c3450559
commit
cb88572642
2 changed files with 13 additions and 2 deletions
|
@ -400,8 +400,14 @@ NSLog(@"Connection to GDNC server established.\n");
|
|||
}
|
||||
else
|
||||
{
|
||||
[NSException raise: NSInternalInconsistencyException
|
||||
format: @"unable to contact GDNC server on %@", host];
|
||||
_remote = [NSConnection rootProxyForConnectionWithRegisteredName:
|
||||
[GDNC_SERVICE stringByAppendingFormat: @"-%@", host] host: @"*"];
|
||||
if (_remote == nil)
|
||||
{
|
||||
[NSException raise: NSInternalInconsistencyException
|
||||
format: @"unable to contact GDNC server for %@", host];
|
||||
}
|
||||
RETAIN(_remote);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue