aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'file.c')
-rw-r--r--file.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/file.c b/file.c
index 299be72457..b84c570802 100644
--- a/file.c
+++ b/file.c
@@ -1754,8 +1754,7 @@ cf_read_frame_r(capture_file *cf, const frame_data *fdata,
}
#endif
- if (!wtap_seek_read(cf->wth, fdata->file_off, phdr, buf,
- fdata->cap_len, &err, &err_info)) {
+ if (!wtap_seek_read(cf->wth, fdata->file_off, phdr, buf, &err, &err_info)) {
display_basename = g_filename_display_basename(cf->filename);
switch (err) {