Commit ccc8627a authored by Claes Sjofors's avatar Claes Sjofors

Profbus configurator, fix for gsd list with space

parent ecc4a731
......@@ -798,8 +798,11 @@ int pb_gsd::read( char *filename)
printf( "Syntax error, line %d (%s)\n", line_cnt, line);
}
else {
char allstr[16][10];
char allstr[25][20];
int all_cnt;
for ( int i = 3; i < part_cnt; i++)
strncat( line_part[2], line_part[i], sizeof(line_part[2]));
all_cnt = dcli_parse( line_part[2], " ,", "", (char *)allstr,
sizeof( allstr) / sizeof( allstr[0]),
......
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