From 9b4af571a3bbecef7cecf980760aa82e3fe45e9e Mon Sep 17 00:00:00 2001 From: nhanasi Date: Mon, 19 May 2025 10:38:39 -0400 Subject: [PATCH 1/2] Update rrdCommandSanity.c --- src/rrdCommandSanity.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rrdCommandSanity.c b/src/rrdCommandSanity.c index 22a77315..f2abd138 100644 --- a/src/rrdCommandSanity.c +++ b/src/rrdCommandSanity.c @@ -30,6 +30,7 @@ int updateBackgroundCmd(char * str) { int i = 0; + RDK_LOG(RDK_LOG_DEBUG,LOG_REMDEBUG,"[%s:%d]: Updated Background Command: %s \n",__FUNCTION__,__LINE__); if(str == NULL) { From c18b96764eddbc062b3defe3ee29bcab6189ba37 Mon Sep 17 00:00:00 2001 From: nhanasi Date: Mon, 19 May 2025 10:41:30 -0400 Subject: [PATCH 2/2] Update rrdCommandSanity.c --- src/rrdCommandSanity.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/rrdCommandSanity.c b/src/rrdCommandSanity.c index f2abd138..7e19a30b 100644 --- a/src/rrdCommandSanity.c +++ b/src/rrdCommandSanity.c @@ -30,8 +30,7 @@ int updateBackgroundCmd(char * str) { int i = 0; - RDK_LOG(RDK_LOG_DEBUG,LOG_REMDEBUG,"[%s:%d]: Updated Background Command: %s \n",__FUNCTION__,__LINE__); - + if(str == NULL) { return 1; @@ -73,7 +72,7 @@ char *replaceRRDLocation(char* commandStr, char* dirLocation) deflen = strlen(DEFAULT_DIR); dirlen = strlen(dirLocation); - RDK_LOG(RDK_LOG_DEBUG,LOG_REMDEBUG,"[%s:%d]: Command to be replaced: %s \n",__FUNCTION__,__LINE__,commandStr); + RDK_LOG(RDK_LOG_DEBUG,LOG_REMDEBUG,"[%s:%d]: Command to be new replaced: %s \n",__FUNCTION__,__LINE__,commandStr); iterptr = commandStr; while (NULL != (matchptr = strstr(iterptr, DEFAULT_DIR))) {