Skip to content
This repository
Browse code

Use GetProtocol() like other code does.

  • Loading branch information...
commit 2afa9c4f121167afebbd2cade5e4055fad72c7b8 1 parent 0b1e599
ulion authored February 22, 2013

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  xbmc/filesystem/CurlFile.cpp
2  xbmc/filesystem/CurlFile.cpp
@@ -920,7 +920,7 @@ bool CCurlFile::Open(const CURL& url)
920 920
   }
921 921
 
922 922
   m_multisession = false;
923  
-  if(m_url.Left(5).Equals("http:") || m_url.Left(6).Equals("https:"))
  923
+  if(url2.GetProtocol().Equals("http") || url2.GetProtocol().Equals("https"))
924 924
   {
925 925
     m_multisession = true;
926 926
     if(m_state->m_httpheader.GetValue("Server").Find("Portable SDK for UPnP devices") >= 0)

0 notes on commit 2afa9c4

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