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:
Richard Frith-Macdonald 2002-03-09 19:18:20 +00:00
parent 07c3450559
commit cb88572642
2 changed files with 13 additions and 2 deletions

View file

@ -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);
}
}
}