mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 09:04:13 +00:00
Fix crash when current host not found
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@10577 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
9d8c0d8391
commit
b680f3e314
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
Sat Jul 21 23:25:14 2001 Wim Oudshoorn
|
||||
* Source/NSHost.m ([NSHost +hostWithName:]):
|
||||
Added forgotten argument to NSLog().
|
||||
|
||||
2001-07-19 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/UnixFileHandle.m: Don't abort aread/write attempts that
|
||||
|
|
|
@ -309,7 +309,7 @@ static NSString *myHostName = nil;
|
|||
@"for this machine (%@) - using loopback address "
|
||||
@"(127.0.0.1)", name);
|
||||
NSLog(@"You probably need a line like '"
|
||||
@"127.0.0.1 %@ localhost' in your /etc/hosts file");
|
||||
@"127.0.0.1 %@ localhost' in your /etc/hosts file", name);
|
||||
host = [self hostWithAddress: @"127.0.0.1"];
|
||||
[host _addName: name];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue