src/amf/amfnd/clc.cc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Due to a coding error, only the first env variable in the list
gets printed repeatedly for the length of the list. This ticket
fixes the bug.
diff --git a/src/amf/amfnd/clc.cc b/src/amf/amfnd/clc.cc
--- a/src/amf/amfnd/clc.cc
+++ b/src/amf/amfnd/clc.cc
@@ -3104,7 +3104,7 @@ uint32_t avnd_comp_clc_cmd_execute(AVND_
for(count=0;count<cmd_info.i_set_env_args->num_args;count++)
TRACE_1("CLC CLI command env variable name = '%s': value ='%s'",
-
cmd_info.i_set_env_args->env_arg->name,cmd_info.i_set_env_args->env_arg->value);
+
cmd_info.i_set_env_args->env_arg[count].name,cmd_info.i_set_env_args->env_arg[count].value);
/* finally execute the command */
rc = ncs_os_process_execute_timed(&cmd_info);
------------------------------------------------------------------------------
Announcing the Oxford Dictionaries API! The API offers world-renowned
dictionary content that is easy and intuitive to access. Sign up for an
account today to start using our lexical data to power your apps and
projects. Get started today and enter our developer competition.
http://sdm.link/oxford
_______________________________________________
Opensaf-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-devel