diff options
Diffstat (limited to 'wiretap/pcapng.c')
-rw-r--r-- | wiretap/pcapng.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/wiretap/pcapng.c b/wiretap/pcapng.c index 0824114559..86be49d20d 100644 --- a/wiretap/pcapng.c +++ b/wiretap/pcapng.c @@ -62,8 +62,7 @@ pcapng_read(wtap *wth, int *err, gchar **err_info, gint64 *data_offset); static gboolean pcapng_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 void pcapng_close(wtap *wth); @@ -2388,7 +2387,7 @@ got_packet: /* classic wtap: seek to file position and read packet */ static gboolean pcapng_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) { pcapng_t *pcapng = (pcapng_t *)wth->priv; |