check not done

This commit is contained in:
Dhanya Maliakal
2016-10-18 15:31:48 +02:00
parent 028ba57876
commit f535e11bba
2 changed files with 5 additions and 7 deletions

View File

@ -1246,16 +1246,16 @@ string slsDetector::checkOnline() {
delete controlSocket;
controlSocket=NULL;
retval = string(thisDetector->hostname);
//#ifdef VERBOSE
#ifdef VERBOSE
std::cout<< "offline!" << std::endl;
//#endif
#endif
} else {
thisDetector->onlineFlag=ONLINE_FLAG;
controlSocket->SetTimeOut(100);
disconnectControl();
//#ifdef VERBOSE
#ifdef VERBOSE
std::cout<< "online!" << std::endl;
//#endif
#endif
}
}
return retval;