fix xbmc connection-check patch

Checking releases.openelec.tv returns a 403 error as directory listings are denied. XBMC interprets this as a failure resulting in "Connected, but no DNS available" in system info. We now use online.openelec.tv which does not return an error.
This commit is contained in:
Christian Hewitt 2013-02-23 08:40:01 +04:00
parent 61130bb896
commit e243a066b1

View File

@ -6,10 +6,10 @@ diff -Naur a/xbmc/filesystem/CurlFile.cpp b/xbmc/filesystem/CurlFile.cpp
bool CFileCurl::IsInternet(bool checkDNS /* = true */)
{
- CStdString strURL = "http://www.google.com";
+ CStdString strURL = "http://releases.openelec.tv";
+ CStdString strURL = "http://online.openelec.tv";
if (!checkDNS)
- strURL = "http://74.125.19.103"; // www.google.com ip
+ strURL = "http://212.101.13.11"; // openelec.tv ip
+ strURL = "http://212.101.13.11"; // online.openelec.tv ip
bool found = Exists(strURL);
Close();