Check connection to www.wxwidgets.org and not www.google.com
Our tests use the former and not the latter, so check connection to the site we're actually interested in.
This commit is contained in:
@@ -436,7 +436,7 @@ extern bool IsNetworkAvailable()
|
||||
wxSocketBase::Initialize();
|
||||
|
||||
wxIPV4address addr;
|
||||
if (!addr.Hostname(wxASCII_STR("www.google.com")) || !addr.Service(wxASCII_STR("www")))
|
||||
if (!addr.Hostname(wxASCII_STR("www.wxwidgets.org")) || !addr.Service(wxASCII_STR("www")))
|
||||
{
|
||||
wxSocketBase::Shutdown();
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user