solved problem on absolute channel number in raw files

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@193 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
bergamaschi
2012-06-15 15:30:42 +00:00
parent 69965fcb7e
commit bc85c26bdd
3 changed files with 12 additions and 6 deletions

View File

@ -919,7 +919,7 @@ string slsDetectorCommand::cmdHostname(int narg, char *args[], int action){
}
ostringstream os;
int ivar;//, ival;
int ivar=-1;//, ival;
string var=string(args[0]);
char hostname[1000];
@ -933,6 +933,9 @@ string slsDetectorCommand::cmdHostname(int narg, char *args[], int action){
if (vvstr.fail())
ivar=-1;
}
p=string(args[0]).find("hostname");
if (p==string::npos) {