solved errors with client compile, rxr yet to do

This commit is contained in:
2018-10-09 13:43:50 +02:00
parent 4bcc24a59f
commit 7d5b24fe33
4 changed files with 8 additions and 9 deletions

View File

@ -2434,9 +2434,10 @@ string slsDetectorCommand::cmdExitServer(int narg, char *args[], int action, int
}
else if (cmd=="execcommand"){
myDet->setOnline(ONLINE_FLAG, detPos);
if(myDet->execCommand(std::string(argv[1]), detPos)==OK)
if(myDet->execCommand(std::string(args[1]), detPos)==OK)
return string("Command executed successfully\n");
else
return string("Command failed\n");
}
else return("cannot decode command\n");