diff options
author | jake <jake@f5534014-38df-0310-8fa8-9805f1628bb7> | 2006-10-22 14:28:54 +0000 |
---|---|---|
committer | jake <jake@f5534014-38df-0310-8fa8-9805f1628bb7> | 2006-10-22 14:28:54 +0000 |
commit | 127f0f621a6c9c3e73e6c4ac679e82e23d3dd8c2 (patch) | |
tree | 1dabf7da92fdf52d5a2dacd72d43600aa248d34c /print.c | |
parent | dae1d347ba66da46e85f66a441b36f65066586ed (diff) |
Fix bug 1173, remove the space after the comma in CSV lines
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@19660 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'print.c')
-rw-r--r-- | print.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -550,13 +550,13 @@ proto_tree_write_csv(epan_dissect_t *edt, FILE *fh) /* if this is the first packet, we have to write the CSV header */ if(edt->pi.fd->num == 1) { for(i=0; i < edt->pi.cinfo->num_cols - 1; i++) - fprintf(fh, "\"%s\", ", edt->pi.cinfo->col_title[i]); + fprintf(fh, "\"%s\",", edt->pi.cinfo->col_title[i]); fprintf(fh, "\"%s\"\n", edt->pi.cinfo->col_title[i]); } for(i=0; i < edt->pi.cinfo->num_cols - 1; i++) - fprintf(fh, "\"%s\", ", edt->pi.cinfo->col_data[i]); + fprintf(fh, "\"%s\",", edt->pi.cinfo->col_data[i]); fprintf(fh, "\"%s\"\n", edt->pi.cinfo->col_data[i]); } |