xbmc: fix connection check patch

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2013-02-18 21:02:50 +01:00
parent e57553ae7d
commit 36be00b307

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://openelec.tv";
+ CStdString strURL = "http://releases.openelec.tv";
if (!checkDNS)
- strURL = "http://74.125.19.103"; // www.google.com ip
+ strURL = "http://212.101.13.10"; // openelec.tv ip
+ strURL = "http://212.101.13.11"; // openelec.tv ip
bool found = Exists(strURL);
Close();