{\r
len = found_at - found_tech_str - 1;\r
for_each(technology, technologies)\r
- if(!strncmp(technology->filename, found_tech_str + 1, len))\r
+ if(strlen(technology->filename)==len && !strncmp(technology->filename, found_tech_str + 1, len))\r
break;\r
if(!technology)\r
{\r
char *filename;\r
FILE *f;\r
string(filename, strlen(log_dir) + strlen(technology->filename) + 5);\r
- strcpy(filename, html_log_dir);\r
+ strcpy(filename, log_dir);\r
strcat(filename, technology->filename); \r
strcat(filename, ".csv");\r
/*-----------------------------------------------------------------*/\r