Index: trunk/udpprofile/export.c |
— | — | @@ -75,9 +75,10 @@ |
76 | 76 | } else { |
77 | 77 | points = entry->pf_count; |
78 | 78 | } |
79 | | - for (i=0; i<points; i++) { |
| 79 | + for (i=0; i<points-1; i++) { |
80 | 80 | fprintf(fd,"%lf ", entry->pf_reals[i]); |
81 | 81 | } |
| 82 | + fprintf(fd,"%lf", entry->pf_reals[points-1]); |
82 | 83 | fprintf(fd,"\" />\n" \ |
83 | 84 | "</stats></event>\n"); |
84 | 85 | } |