This commit is contained in:
2021-10-18 17:52:52 +02:00
parent d7bbcb24c9
commit 195d28d091

View File

@ -4230,7 +4230,7 @@ int copy_detector_server(int file_des) {
if (snprintf(cmd, MAX_STR_LENGTH, format, hostname, sname) >=
MAX_STR_LENGTH) {
ret = FAIL;
sptrcpy(mess, "Could not copy detector server. Command to copy "
strcpy(mess, "Could not copy detector server. Command to copy "
"server too long\n");
LOG(logERROR, (mess));
} else if (executeCommand(cmd, retvals, logDEBUG1) == FAIL) {
@ -4247,7 +4247,7 @@ int copy_detector_server(int file_des) {
if (snprintf(cmd, MAX_STR_LENGTH, "chmod 777 %s", sname) >=
MAX_STR_LENGTH) {
ret = FAIL;
sptrcpy(mess, "Could not copy detector server. Command to give "
strcpy(mess, "Could not copy detector server. Command to give "
"permissions to server is too long\n");
LOG(logERROR, (mess));
} else if (executeCommand(cmd, retvals, logDEBUG1) == FAIL) {
@ -4304,7 +4304,7 @@ int copy_detector_server(int file_des) {
if (snprintf(cmd, MAX_STR_LENGTH, format, sname) >=
MAX_STR_LENGTH) {
ret = FAIL;
sptrcpy(mess, "Could not copy detector server. Command "
strcpy(mess, "Could not copy detector server. Command "
"to add new server for spawning is too long\n");
LOG(logERROR, (mess));
} else if (executeCommand(cmd, retvals, logDEBUG1) == FAIL) {