aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2014-01-02 20:47:21 +0000
committerGuy Harris <guy@alum.mit.edu>2014-01-02 20:47:21 +0000
commit9d41c658fe5b003d3a16646d1d05da8c68596b01 (patch)
tree9cfbf155885a14d5e1d7b1aeff3b277b3fafedc0 /file.c
parent5acabc99b0755be8d199d20f5aff96c3e3873845 (diff)
No seek-read routines use the length argument, so eliminate it from
wtap_seek_read(). svn path=/trunk/; revision=54570
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) {