aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>1999-12-04 08:59:13 +0000
committerGuy Harris <guy@alum.mit.edu>1999-12-04 08:59:13 +0000
commita34c9711f6a8f7d64a30be38c664e1fecd5aee81 (patch)
treefcc245755be802eba8528525c395984b080a4d89 /file.c
parent3af8d95645f9b045e59ad11975181418835068e5 (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 'file.c')
-rw-r--r--file.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/file.c b/file.c
index e018868711..fc3b8c1b68 100644
--- a/file.c
+++ b/file.c
@@ -1,7 +1,7 @@
/* file.c
* File I/O routines
*
- * $Id: file.c,v 1.132 1999/12/04 08:51:41 guy Exp $
+ * $Id: file.c,v 1.133 1999/12/04 08:59:12 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -163,7 +163,6 @@ open_cap_file(char *fname, gboolean is_tempfile, capture_file *cf)
cf->user_saved = !is_tempfile;
cf->cd_t = wtap_file_type(cf->wth);
- cf->cd_t_desc = wtap_file_type_string(cf->cd_t);
cf->first_packet = TRUE;
cf->count = 0;
cf->drops = 0;