Skip to content
Browse files

Use GetProtocol() like other code does.

  • Loading branch information...
1 parent 0b1e599 commit 2afa9c4f121167afebbd2cade5e4055fad72c7b8 @ulion ulion committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 xbmc/filesystem/CurlFile.cpp
View
2 xbmc/filesystem/CurlFile.cpp
@@ -920,7 +920,7 @@ bool CCurlFile::Open(const CURL& url)
}
m_multisession = false;
- if(m_url.Left(5).Equals("http:") || m_url.Left(6).Equals("https:"))
+ if(url2.GetProtocol().Equals("http") || url2.GetProtocol().Equals("https"))
{
m_multisession = true;
if(m_state->m_httpheader.GetValue("Server").Find("Portable SDK for UPnP devices") >= 0)

0 comments on commit 2afa9c4

Please sign in to comment.
Something went wrong with that request. Please try again.