mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-06 01:50:40 +02:00
fixed copyserver bug
This commit is contained in:
parent
a55ae38874
commit
4f13b29c7f
@ -2966,7 +2966,7 @@ int slsDetector::resetFPGA() {
|
||||
|
||||
int slsDetector::copyDetectorServer(const std::string &fname,
|
||||
const std::string &hostname) {
|
||||
char args[][MAX_STR_LENGTH]{};
|
||||
char args[2][MAX_STR_LENGTH]{};
|
||||
sls::strcpy_safe(args[0], fname.c_str());
|
||||
sls::strcpy_safe(args[1], hostname.c_str());
|
||||
FILE_LOG(logINFO) << "Sending detector server " << args[0] << " from host "
|
||||
|
Loading…
x
Reference in New Issue
Block a user