mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
Handle NSHost specification better.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@13511 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
923596f458
commit
0cb5f21e15
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2002-04-19 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Tools/gdnc.m: If given -NSHost specification for the current host,
|
||||
ignore it and use the standard name.
|
||||
|
||||
2002-04-18 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* SSL/COPYING.LIB: New file ... just to make it *REALLY* obvious
|
||||
|
|
|
@ -226,7 +226,8 @@
|
|||
[conn setRootObject: self];
|
||||
|
||||
hostname = [[NSUserDefaults standardUserDefaults] stringForKey: @"NSHost"];
|
||||
if ([hostname length] == 0)
|
||||
if ([hostname length] == 0
|
||||
|| [[NSHost hostWithName: hostname] isEqual: [NSHost currentHost]] == YES)
|
||||
{
|
||||
if ([conn registerName: GDNC_SERVICE] == NO)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue