Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Use GetProtocol() like other code does.

  • Loading branch information...
commit 2afa9c4f121167afebbd2cade5e4055fad72c7b8 1 parent 0b1e599
@ulion ulion authored
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)
Please sign in to comment.
Something went wrong with that request. Please try again.