Skip to content

Commit

Permalink
Uncomment InternetConnect check
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan386 committed Nov 1, 2013
1 parent 985dfbe commit 4b6835d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 22 deletions.
14 changes: 0 additions & 14 deletions setup/builds/RestoreSettings.bat

This file was deleted.

5 changes: 0 additions & 5 deletions setup/builds/SaveSettings.bat

This file was deleted.

6 changes: 3 additions & 3 deletions shareaza/Network.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -719,13 +719,13 @@ bool CNetwork::PreRun()
InternetSetOption( hInternet, INTERNET_OPTION_CONNECTED_STATE, &ici, sizeof(ici) );
InternetCloseHandle( hInternet );
}
/*
if ( ! InternetConnect() )

if ( ! CNInternetConnect() )
{
theApp.Message( MSG_ERROR, _T("Internet connection attempt failed.") );
return false;
}
*/

m_bConnected = true;

Resolve( Settings.Connection.InHost, Settings.Connection.InPort, &m_pHost );
Expand Down

0 comments on commit 4b6835d

Please sign in to comment.