added address sanitizer for debug mode

This commit is contained in:
Erik Frojdh
2018-10-11 14:43:32 +02:00
parent f7809bda3b
commit 4d69b6d3a1
2 changed files with 4 additions and 1 deletions

View File

@ -1076,7 +1076,7 @@ int slsDetector::setOnline(int off) {
std::string slsDetector::checkOnline() {
std::string retval="";
std::string retval;
if(!controlSocket){
//this already sets the online/offline flag
setTCPSocket();