From cf8e2654b414b51b95fa0e6cd25fc53bb13e66d9 Mon Sep 17 00:00:00 2001 From: Kovarththanan Rajaratnam Date: Tue, 22 Sep 2009 20:02:51 +0000 Subject: [PATCH] Remove unused 'offset' parameter svn path=/trunk/; revision=30078 --- tshark.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tshark.c b/tshark.c index 0088b8ae84..52fe9bd7bc 100644 --- a/tshark.c +++ b/tshark.c @@ -2241,7 +2241,7 @@ process_packet_first_pass(capture_file *cf, static gboolean process_packet_second_pass(capture_file *cf, frame_data *fdata, - gint64 offset, union wtap_pseudo_header *pseudo_header, const guchar *pd, + union wtap_pseudo_header *pseudo_header, const guchar *pd, gboolean filtering_tap_listeners, guint tap_flags) { gboolean create_proto_tree; @@ -2460,7 +2460,7 @@ load_cap_file(capture_file *cf, char *save_file, int out_file_type, for (fdata = cf->plist_start; err == 0 && fdata != NULL; fdata = fdata->next) { if (wtap_seek_read(cf->wth, fdata->file_off, &cf->pseudo_header, cf->pd, fdata->cap_len, &err, &err_info)) { - if (process_packet_second_pass(cf, fdata, fdata->file_off, + if (process_packet_second_pass(cf, fdata, &cf->pseudo_header, cf->pd, filtering_tap_listeners, tap_flags)) { /* Either there's no read filtering or this packet passed the