mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +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
|
@ -1,3 +1,8 @@
|
|||
2002-03-09 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/NSDistributedNotificationCentre.m: Try alternative name for
|
||||
server if NSHost is specified ...in case it is running on another host.
|
||||
|
||||
Sat Mar 9 12:02:45 2002 Adam Fedor <fedor@yogi.doc.com>
|
||||
|
||||
* configure.in: Change constant string to FooConstantString
|
||||
|
|
|
@ -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…
Reference in a new issue