From 9d41c658fe5b003d3a16646d1d05da8c68596b01 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Thu, 2 Jan 2014 20:47:21 +0000 Subject: No seek-read routines use the length argument, so eliminate it from wtap_seek_read(). svn path=/trunk/; revision=54570 --- wiretap/netxray.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'wiretap/netxray.c') diff --git a/wiretap/netxray.c b/wiretap/netxray.c index 1aaaf8879c..189c70a04c 100644 --- a/wiretap/netxray.c +++ b/wiretap/netxray.c @@ -407,8 +407,7 @@ typedef struct { static gboolean netxray_read(wtap *wth, int *err, gchar **err_info, gint64 *data_offset); static gboolean netxray_seek_read(wtap *wth, gint64 seek_off, - struct wtap_pkthdr *phdr, Buffer *buf, int length, - int *err, gchar **err_info); + struct wtap_pkthdr *phdr, Buffer *buf, int *err, gchar **err_info); static int netxray_process_rec_header(wtap *wth, FILE_T fh, struct wtap_pkthdr *phdr, int *err, gchar **err_info); static void netxray_guess_atm_type(wtap *wth, struct wtap_pkthdr *phdr, @@ -1089,7 +1088,7 @@ reread: static gboolean netxray_seek_read(wtap *wth, gint64 seek_off, - struct wtap_pkthdr *phdr, Buffer *buf, int length _U_, + struct wtap_pkthdr *phdr, Buffer *buf, int *err, gchar **err_info) { if (file_seek(wth->random_fh, seek_off, SEEK_SET, err) == -1) -- cgit v1.2.1