diff options
author | Guy Harris <guy@alum.mit.edu> | 1999-12-04 08:59:13 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 1999-12-04 08:59:13 +0000 |
commit | a34c9711f6a8f7d64a30be38c664e1fecd5aee81 (patch) | |
tree | fcc245755be802eba8528525c395984b080a4d89 /summary.c | |
parent | 3af8d95645f9b045e59ad11975181418835068e5 (diff) |
Now that "wtap_file_type_string()" takes a file type rather than a "wtap
*" as an argument, there's no need to save the file type string in a
"capture_file" structure - we save the file type, and can use that when
generating the summary display.
svn path=/trunk/; revision=1202
Diffstat (limited to 'summary.c')
-rw-r--r-- | summary.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,7 +1,7 @@ /* summary.c * Routines for capture file summary window * - * $Id: summary.c,v 1.13 1999/10/11 06:39:01 guy Exp $ + * $Id: summary.c,v 1.14 1999/12/04 08:59:12 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -175,7 +175,8 @@ summary_prep_cb(GtkWidget *w, gpointer d) { add_string_to_box(string_buff, file_box); /* format */ - snprintf(string_buff, SUM_STR_MAX, "Format: %s", cf.cd_t_desc); + snprintf(string_buff, SUM_STR_MAX, "Format: %s", + wtap_file_type_string(cf.cd_t)); add_string_to_box(string_buff, file_box); /* snapshot length */ |