summaryrefslogtreecommitdiff
path: root/wiretap/mime_file.c
diff options
context:
space:
mode:
authorJakub Zawadzki <darkjames-ws@darkjames.pl>2012-10-16 21:50:57 +0000
committerJakub Zawadzki <darkjames-ws@darkjames.pl>2012-10-16 21:50:57 +0000
commit78631020b83c7aab12934f0cff72dbb5e3f0ba4a (patch)
tree826f6248fcdb37ec849abebc3bdcc650e0df6c61 /wiretap/mime_file.c
parentd7ae273d7a2373ab6fcc1c58d235b4a7dc4df0e9 (diff)
downloadwireshark-78631020b83c7aab12934f0cff72dbb5e3f0ba4a.tar.gz
Add wtap_pseudo_header union to wtap_pkthdr structure.
Use pkthdr instead of pseudo_header as argument for dissecting. svn path=/trunk/; revision=45601
Diffstat (limited to 'wiretap/mime_file.c')
-rw-r--r--wiretap/mime_file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wiretap/mime_file.c b/wiretap/mime_file.c
index 16ba58a751..eb5f3ac239 100644
--- a/wiretap/mime_file.c
+++ b/wiretap/mime_file.c
@@ -127,7 +127,7 @@ mime_read(wtap *wth, int *err, gchar **err_info, gint64 *data_offset)
}
static gboolean
-mime_seek_read(wtap *wth, gint64 seek_off, union wtap_pseudo_header *pseudo_header _U_, guint8 *pd, int length, int *err, gchar **err_info)
+mime_seek_read(wtap *wth, gint64 seek_off, struct wtap_pkthdr *phdr _U_, guint8 *pd, int length, int *err, gchar **err_info)
{
if (file_seek(wth->random_fh, seek_off, SEEK_SET, err) == -1) {
*err_info = NULL;