mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-19 16:27:13 +02:00
Merge branch 'moench' of https://github.com/slsdetectorgroup/slsDetectorPackage into moench
This commit is contained in:
@ -56,8 +56,10 @@ public:
|
|||||||
(ConvertInternetAddresstoIpString(result, ip, MAX_STR_LENGTH)))
|
(ConvertInternetAddresstoIpString(result, ip, MAX_STR_LENGTH)))
|
||||||
throw std::exception();
|
throw std::exception();
|
||||||
|
|
||||||
|
std::string sip(ip);
|
||||||
|
|
||||||
// construct address
|
// construct address
|
||||||
sprintf (sockfd.serverAddress, "tcp://%s:%d", ip, portno);
|
sprintf (sockfd.serverAddress, "tcp://%s:%d", sip.c_str(), portno);
|
||||||
#ifdef VERBOSE
|
#ifdef VERBOSE
|
||||||
cprintf(BLUE,"address:%s\n",sockfd.serverAddress);
|
cprintf(BLUE,"address:%s\n",sockfd.serverAddress);
|
||||||
#endif
|
#endif
|
||||||
|
@ -146,7 +146,7 @@ void DataProcessor::ResetParametersforNewMeasurement(){
|
|||||||
delete [] tempBuffer;
|
delete [] tempBuffer;
|
||||||
tempBuffer = 0;
|
tempBuffer = 0;
|
||||||
}
|
}
|
||||||
if (*gapPixelsEnable >= 0) {
|
if (*gapPixelsEnable) {
|
||||||
tempBuffer = new char[generalData->imageSize];
|
tempBuffer = new char[generalData->imageSize];
|
||||||
memset(tempBuffer, 0, generalData->imageSize);
|
memset(tempBuffer, 0, generalData->imageSize);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user