diff --git a/src/rrdCommandSanity.c b/src/rrdCommandSanity.c index 22a77315..7e19a30b 100644 --- a/src/rrdCommandSanity.c +++ b/src/rrdCommandSanity.c @@ -30,7 +30,7 @@ int updateBackgroundCmd(char * str) { int i = 0; - + if(str == NULL) { return 1; @@ -72,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))) {