aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2001-12-10 03:25:58 +0000
committerGuy Harris <guy@alum.mit.edu>2001-12-10 03:25:58 +0000
commit3658c6ce7e6f3342b5141dc78a4fdd5312106050 (patch)
tree2dcdafd9c2abfb68255eba9998e2a34c862035fd /file.c
parent0fab2ae6d58259be278b546527f2ffa03434537e (diff)
Add some additional comments.
svn path=/trunk/; revision=4375
Diffstat (limited to 'file.c')
-rw-r--r--file.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/file.c b/file.c
index 97c60ffd5f..99180c8ddc 100644
--- a/file.c
+++ b/file.c
@@ -1,7 +1,7 @@
/* file.c
* File I/O routines
*
- * $Id: file.c,v 1.252 2001/12/10 00:25:25 guy Exp $
+ * $Id: file.c,v 1.253 2001/12/10 03:25:58 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -1212,7 +1212,8 @@ print_packets(capture_file *cf, print_args_t *print_args)
if (print_separator)
print_line(cf->print_fh, print_args->format, "\n");
- /* Create the logical protocol tree. */
+ /* Create the logical protocol tree; we don't need the columns
+ here. */
edt = epan_dissect_new(&cf->pseudo_header, cf->pd, fdata, TRUE,
NULL);
@@ -1545,6 +1546,7 @@ select_packet(capture_file *cf, int row)
epan_dissect_free(cf->edt);
cf->edt = NULL;
}
+ /* We don't need the columns here. */
cf->edt = epan_dissect_new(&cf->pseudo_header, cf->pd, cf->current_frame,
TRUE, NULL);
proto_tree_is_visible = FALSE;