Commit aebc2554 authored by Claes Sjofors's avatar Claes Sjofors

Plc trace bugfix for array element database name

parent a206f796
...@@ -1733,7 +1733,7 @@ int gcg_get_debug ( ...@@ -1733,7 +1733,7 @@ int gcg_get_debug (
if ( EVEN(sts)) return sts; if ( EVEN(sts)) return sts;
pos = strcspn ( output_par , "[") ; pos = strcspn ( output_par , "[") ;
output_par[pos] = '\0'; //output_par[pos] = '\0';
/* Get the name of the node */ /* Get the name of the node */
sts = ldh_AttrRefToName( sts = ldh_AttrRefToName(
...@@ -2018,8 +2018,8 @@ static int gcg_pgmname_to_parname( ...@@ -2018,8 +2018,8 @@ static int gcg_pgmname_to_parname(
free((char *) bodydef); free((char *) bodydef);
/* Copy the index string ????? */ /* Copy the index string */
/* strcpy( parname, indexstr); */ strcat( parname, indexstr);
return GSX__SUCCESS; return GSX__SUCCESS;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment