case CLSTART_S:
s = obj;
fprintf(file, " <suite>\n");
- fprintf(file, " <title>", s->name);
+ fprintf(file, " <title>");
fprint_xml_esc(file, s->name);
- fprintf(file,"</title>\n", s->name);
+ fprintf(file,"</title>\n");
break;
case CLEND_SR:
break;
tr->duration < 0 ? 0 : tr->duration % 1000000);
fprintf(file, " <description>");
fprint_xml_esc(file, tr->tcname);
- fprintf(file,"</description>\n", tr->tcname);
- fprintf(file, " <message>", tr->msg);
+ fprintf(file,"</description>\n");
+ fprintf(file, " <message>");
fprint_xml_esc(file, tr->msg);
- fprintf(file,"</message>\n", tr->msg);
+ fprintf(file,"</message>\n");
fprintf(file, " </test>\n");
if (slash != NULL) {