Commit c62ca244 authored by claes's avatar claes

Restore of parameters with array index didn't work

parent 1c5f1d36
/*
* Proview $Id: rt_rtt_logging.c,v 1.5 2007-04-25 13:39:21 claes Exp $
* Proview $Id: rt_rtt_logging.c,v 1.6 2007-07-05 07:28:36 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
......@@ -1911,6 +1911,7 @@ static int rtt_get_parinfo(
pwr_tClassId class;
pwr_tOName objname;
char classname[80];
char *s;
/* Get object name */
/* Parse the parameter name into a object and a parameter name */
......@@ -1955,6 +1956,9 @@ static int rtt_get_parinfo(
}
}
if ( (s = strrchr( parname, '[')))
*s = 0;
strcat( hiername, "-");
strcat( hiername, parname);
......
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