CURL: remove Encode() overload; Encode() return new value instead of modifying parameter,
[vuplus_xbmc] / xbmc / filesystem / ZeroconfDirectory.cpp
index aaa61ca..4157e81 100644 (file)
@@ -187,7 +187,7 @@ bool CZeroconfDirectory::GetDirectory(const CStdString& strPath, CFileItemList &
         CURL url;
         url.SetProtocol("zeroconf");
         CStdString service_path = CZeroconfBrowser::ZeroconfService::toPath(*it);
-        CURL::Encode(service_path);
+        service_path = CURL::Encode(service_path);
         url.SetFileName(service_path);
         item->SetPath(url.Get());