git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27048 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2008-11-14 11:19:41 +00:00
parent 62410a883d
commit 782f91056a

View file

@ -448,7 +448,7 @@ static NSURLProtocol *placeholder = nil;
if (port == 0)
{
// default if not specified
port = [[url scheme] isEqualToString: @"https"] ? 433 : 80;
port = [[url scheme] isEqualToString: @"https"] ? 443 : 80;
}
[NSStream getStreamsToHost: host