From efb30128fd36e55d44b3cd5af82f33f55102f4f8 Mon Sep 17 00:00:00 2001 From: l_maliakal_d Date: Fri, 6 Jan 2012 10:34:08 +0000 Subject: [PATCH] changed RET to RETVAL for setDetectorType function to compile git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@78 951219d9-93cf-4727-9268-0efd64621fa3 --- slsDetectorSoftware/slsDetector/slsDetector.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slsDetectorSoftware/slsDetector/slsDetector.cpp b/slsDetectorSoftware/slsDetector/slsDetector.cpp index ed3c93698..9e7112598 100644 --- a/slsDetectorSoftware/slsDetector/slsDetector.cpp +++ b/slsDetectorSoftware/slsDetector/slsDetector.cpp @@ -1213,7 +1213,7 @@ int slsDetector::setDetectorType(detectorType const type){ std::cout<< "Detector returned error: " << mess << std::endl; } controlSocket->Disconnect(); - if (ret==FORCE_UPDATE) + if (retval==FORCE_UPDATE) updateDetector(); } }