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 /file.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 'file.c')
-rw-r--r-- | file.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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; |