mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-16 23:07:13 +02:00
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:
@ -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) {
|
||||
|
Reference in New Issue
Block a user