Skip to content

Commit

Permalink
Use the URL scheme instead of reading the URL string prefix.
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Gallagher committed Nov 3, 2013
1 parent fe4442e commit f09ed32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/AudioStreamer.m
Expand Up @@ -669,7 +669,7 @@ - (BOOL)openReadStream
//
// Handle SSL connections
//
if( [[url absoluteString] rangeOfString:@"https"].location != NSNotFound )
if([[url scheme] isEqualToString:@"https"])
{
NSDictionary *sslSettings =
[NSDictionary dictionaryWithObjectsAndKeys:
Expand Down

0 comments on commit f09ed32

Please sign in to comment.