diff options
Diffstat (limited to 'xbmc/filesystem/DAVFile.cpp')
-rw-r--r-- | xbmc/filesystem/DAVFile.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/xbmc/filesystem/DAVFile.cpp b/xbmc/filesystem/DAVFile.cpp index ac87557968..4e89a9e652 100644 --- a/xbmc/filesystem/DAVFile.cpp +++ b/xbmc/filesystem/DAVFile.cpp @@ -70,7 +70,7 @@ bool CDAVFile::Execute(const CURL& url) if (lastResponseCode == 207) { - CStdString strResponse; + std::string strResponse; ReadData(strResponse); CXBMCTinyXML davResponse; @@ -89,7 +89,7 @@ bool CDAVFile::Execute(const CURL& url) { if (CDAVCommon::ValueWithoutNamespace(pChild, "response")) { - CStdString sRetCode = CDAVCommon::GetStatusTag(pChild->ToElement()); + std::string sRetCode = CDAVCommon::GetStatusTag(pChild->ToElement()); CRegExp rxCode; rxCode.RegComp("HTTP/1\\.1\\s(\\d+)\\s.*"); if (rxCode.RegFind(sRetCode) >= 0) @@ -115,7 +115,7 @@ bool CDAVFile::Delete(const CURL& url) return false; CDAVFile dav; - CStdString strRequest = "DELETE"; + std::string strRequest = "DELETE"; dav.SetCustomRequest(strRequest); @@ -138,10 +138,10 @@ bool CDAVFile::Rename(const CURL& url, const CURL& urlnew) CDAVFile dav; CURL url2(urlnew); - CStdString strProtocol = url2.GetTranslatedProtocol(); + std::string strProtocol = url2.GetTranslatedProtocol(); url2.SetProtocol(strProtocol); - CStdString strRequest = "MOVE"; + std::string strRequest = "MOVE"; dav.SetCustomRequest(strRequest); dav.SetRequestHeader("Destination", url2.GetWithoutUserDetails()); |