aboutsummaryrefslogtreecommitdiffstats
path: root/tethereal.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2003-04-16 05:55:41 +0000
committerGuy Harris <guy@alum.mit.edu>2003-04-16 05:55:41 +0000
commit26787864255f5b4f61e0681116f7591060c01dec (patch)
tree5963fd73ddd1bb1d6a67b13bafebe4ab5a0b96c7 /tethereal.c
parent24ec2110d129373d9652f1667eed8faa075cd8f0 (diff)
Pull the stuff done in "dissect_packet()" to initialize a column_info
structure into its own routine; rename "col_init()" to "col_setup()", and call the new routine "col_init()". svn path=/trunk/; revision=7467
Diffstat (limited to 'tethereal.c')
-rw-r--r--tethereal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tethereal.c b/tethereal.c
index 8de42a8d59..746f4af564 100644
--- a/tethereal.c
+++ b/tethereal.c
@@ -1,6 +1,6 @@
/* tethereal.c
*
- * $Id: tethereal.c,v 1.179 2003/04/16 04:52:50 guy Exp $
+ * $Id: tethereal.c,v 1.180 2003/04/16 05:55:37 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -780,7 +780,7 @@ main(int argc, char *argv[])
}
/* Build the column format array */
- col_init(&cfile.cinfo, prefs->num_cols);
+ col_setup(&cfile.cinfo, prefs->num_cols);
for (i = 0; i < cfile.cinfo.num_cols; i++) {
cfile.cinfo.col_fmt[i] = get_column_format(i);
cfile.cinfo.col_title[i] = g_strdup(get_column_title(i));