Allow console-host to be host name as well as IP address.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1202 127b21dd-08f5-0310-b4b7-95ae10353056
This commit is contained in:
parent
992c731fd1
commit
5d577d220e
@ -108,7 +108,7 @@ OOINLINE BOOL StatusIsSendable(OOTCPClientConnectionStatus status)
|
||||
self = [super init];
|
||||
if (self != nil)
|
||||
{
|
||||
host = [NSHost hostWithAddress:address];
|
||||
host = [NSHost hostWithName:address];
|
||||
if (host != nil)
|
||||
{
|
||||
[NSStream getStreamsToHost:host
|
||||
|
Loading…
x
Reference in New Issue
Block a user