refs #857, check if network is accessible in readers

* new read state "skipped"
* renamed to "isNetworkConnectedAndAccessible"
* checking before reading, which would only fail if network is not accessible
This commit is contained in:
Klaus Basan
2017-01-12 18:07:35 +01:00
committed by Mathew Sutcliffe
parent 04e980a6ae
commit 1ced7f3c0b
14 changed files with 49 additions and 21 deletions

View File

@@ -67,7 +67,7 @@ namespace BlackCore
void CVatsimBookingReader::ps_read()
{
if (!this->isNetworkAvailable())
if (!this->isNetworkConnectedAndAccessible())
{
CLogMessage(this).warning("No network, cannot read VATSIM bookings");
return;