From 195d28d0918e54853a69535f69527389824428ee Mon Sep 17 00:00:00 2001 From: Dhanya Thattil Date: Mon, 18 Oct 2021 17:52:52 +0200 Subject: [PATCH] typo --- .../slsDetectorServer/src/slsDetectorServer_funcs.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/slsDetectorServers/slsDetectorServer/src/slsDetectorServer_funcs.c b/slsDetectorServers/slsDetectorServer/src/slsDetectorServer_funcs.c index 6d0432cba..b40fe292a 100644 --- a/slsDetectorServers/slsDetectorServer/src/slsDetectorServer_funcs.c +++ b/slsDetectorServers/slsDetectorServer/src/slsDetectorServer_funcs.c @@ -4230,8 +4230,8 @@ 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 " - "server too long\n"); + strcpy(mess, "Could not copy detector server. Command to copy " + "server too long\n"); LOG(logERROR, (mess)); } else if (executeCommand(cmd, retvals, logDEBUG1) == FAIL) { ret = FAIL; @@ -4247,8 +4247,8 @@ 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 " - "permissions to server is too long\n"); + 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) { ret = FAIL; @@ -4304,8 +4304,8 @@ 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 " - "to add new server for spawning is too long\n"); + 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) { ret = FAIL;