From a34c9711f6a8f7d64a30be38c664e1fecd5aee81 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Sat, 4 Dec 1999 08:59:13 +0000 Subject: 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 --- summary.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'summary.c') diff --git a/summary.c b/summary.c index 77a0b23162..75e18f9d61 100644 --- a/summary.c +++ b/summary.c @@ -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 @@ -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 */ -- cgit v1.2.3