aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authordimeg <dimeg@f5534014-38df-0310-8fa8-9805f1628bb7>2010-02-24 22:17:52 +0000
committerdimeg <dimeg@f5534014-38df-0310-8fa8-9805f1628bb7>2010-02-24 22:17:52 +0000
commit431719e2dac4b3be60bfe9eb69a27eeb9c70c4d8 (patch)
tree4ebfd94432737d47c85646888e006e80fc00caf0 /file.c
parent331d9e2a7291331cf16b51de710e4224946cd937 (diff)
Fix for bug 3926:
Enhance decoding of TS2 channel list git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@31993 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'file.c')
-rw-r--r--file.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/file.c b/file.c
index fe7ac33d18..7f32c2c0c5 100644
--- a/file.c
+++ b/file.c
@@ -2604,8 +2604,7 @@ print_packet(capture_file *cf, frame_data *fdata,
/* Fill in the column information if we're printing the summary
information. */
if (args->print_args->print_summary) {
- if (have_custom_cols(&cf->cinfo))
- col_custom_prime_edt(&edt, &cf->cinfo);
+ col_custom_prime_edt(&edt, &cf->cinfo);
epan_dissect_run(&edt, pseudo_header, pd, fdata, &cf->cinfo);
epan_dissect_fill_in_columns(&edt, FALSE, TRUE);
} else
@@ -2938,8 +2937,7 @@ write_psml_packet(capture_file *cf, frame_data *fdata,
if having custom columns. */
proto_tree_needed = have_custom_cols(&cf->cinfo);
epan_dissect_init(&edt, proto_tree_needed, proto_tree_needed);
- if (proto_tree_needed)
- col_custom_prime_edt(&edt, &cf->cinfo);
+ col_custom_prime_edt(&edt, &cf->cinfo);
epan_dissect_run(&edt, pseudo_header, pd, fdata, &cf->cinfo);
epan_dissect_fill_in_columns(&edt, FALSE, TRUE);
@@ -3014,8 +3012,7 @@ write_csv_packet(capture_file *cf, frame_data *fdata,
if having custom columns. */
proto_tree_needed = have_custom_cols(&cf->cinfo);
epan_dissect_init(&edt, proto_tree_needed, proto_tree_needed);
- if (proto_tree_needed)
- col_custom_prime_edt(&edt, &cf->cinfo);
+ col_custom_prime_edt(&edt, &cf->cinfo);
epan_dissect_run(&edt, pseudo_header, pd, fdata, &cf->cinfo);
epan_dissect_fill_in_columns(&edt, FALSE, TRUE);