mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
tweaks for url loading
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25142 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
7c633ab823
commit
1d562005d1
9 changed files with 259 additions and 240 deletions
|
@ -1926,7 +1926,7 @@ static id propertyForInet6Stream(int descriptor, NSString *key)
|
|||
inputStream: (NSInputStream **)inputStream
|
||||
outputStream: (NSOutputStream **)outputStream
|
||||
{
|
||||
NSString *address = [host address];
|
||||
NSString *address = host ? (id)[host address] : (id)@"127.0.0.1";
|
||||
GSSocketInputStream *ins = nil;
|
||||
GSSocketOutputStream *outs = nil;
|
||||
int sock;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue